E D R , A S I H C RSS

Full text search for " ns "

ns


Search BackLinks only
Display context of search results
Case-sensitive searching
  • 경시대회준비반/BigInteger . . . . 175 matches
         * representations about the suitability of this software for any
          const char *BigIntErrDes[] = { "Allocation Failed", "Overflow","Underflow", "Invalid Integer", "Divide by Zero" ,"Domain Error"};
          const char BigIntPROGRAMNAME[] = { "BigInteger" };
          const int BigIntMajorVersion = 6;
          const int BigIntMinorVersion = 7;
          const int BigIntRevision = 25;
          void Dump(const char *,enum BigMathERROR);
          string& DumpString (char const*,enum BigMathERROR);
          typedef unsigned int SizeT;
          typedef unsigned int DATATYPE;
          const DATATYPE BASE = 10000;
          const DATATYPE INVALIDDATA = 65535U;
          const SizeT LOG10BASE = 4;
          // Constructor with specified bytes
          void datacopy(BigInteger const&,SizeT);
          SizeT datalen(DATATYPE const*) const;
          // Default Constructor
          // Long integer constructor
          // Character array constructor
          BigInteger(char const*);
  • MoreEffectiveC++/Techniques2of3 . . . . 168 matches
          String(const char *value = "");
          String& operator=(const String& rhs);
         String& String::operator=(const String& rhs)
          StringValue(const char *initValue);
         String::StringValue::StringValue(const char *initValue): refCount(1)
          String(const char *initValue = "");
          String(const String& rhs);
         String::String(const char *initValue): value(new StringValue(initValue))
         String::String(const String& rhs): value(rhs.value)
         다음에 구현해야할 사항은 할당(assignment)관련한 구현 즉 operator= 이다. 복사 생성자(copy constructor)를 호출이 아닌 할당은 다음과 같이 선언되고,
          String& operator=(const String& rhs);
         String& String::operator=(const String& rhs)
          const char& operator[](int index) const; // const String에 대하여
          char& operator[](int index); // non-const String에 대하여
         const String에 대한 값을 주는 것은 아래와 같이 간단히 해결된다. 내부 값이 아무런 영향을 받을 것이 없을 경우이기 떄문이다.
         const char& String::operator[](int index) const
         하지만 non-const의 operator[]는 이것(const operator[])와 완전히 다른 상황이 된다. 이유는 non-const operator[]는 StringValue가 가리키고 있는 값을 변경할수 있는 권한을 내주기 때문이다. 즉, non-const operator[]는 자료의 읽기(Read)와 쓰기(Write)를 다 허용한다.
         참조 세기가 적용된 String은 수정할때 조심하게 해야 된다. 그래서 일단 안전한 non-const operator[]를 수행하기 위하여 아예 operator[]를 수행할때 마다 새로운 객체를 생성해 버리는 것이다. 그래서 만든 것이 다음과 같은 방법으로 하고, 설명은 주석에 더 자세히
         char& String::operator[](int index) // non-const operator[]
         String의 복사 생성자는 이러한 상태를 감지할 방법이 없다. 위에서 보듯이, s2가 참고할수 있는 정보는 모두 s1의 내부에 있는데, s1에게는 non-const operator[]를 수행하였는지에 관한 기록은 없다.
  • 새싹교실/2012/세싹 . . . . 154 matches
          - transport : 데이터를 어떻게 보낼지 결정하는 계층입니다. 데이터를 어떻게 묶어서 보낼지, 오류처리는 어떻게 할지에 대해 결정합니다. TCP/UDP등이 있습니다.
          * 자세한 해결 방법입니다. 소켓을 생성하고나서 바로 setsockopt(mySocket, SOL_SOCKET, SO_REUSEADDR, &anyIntegerVariableThatContainsNonZero, sizeof(anyIntegerVariableThatContainsNonZero)); 함수를 호출하면 이 소켓의 생명이 다하는 순간 해당 포트에 자리가 나게 됩니다. - [황현]
          * http://forensic-proof.com/ 에서 mft에 대해 읽어보시오.
          자세한 내용은 http://stackoverflow.com/questions/3783842/converting-a-string-to-lpcwstr-for-createfile-to-address-a-serial-port
          printf("Offset to fixup array : 0x%02x%02x\n", *((unsigned char*)MFT+5),*((unsigned char*)MFT+4));
          , *((unsigned char*)MFT+47),*((unsigned char*)MFT+46),*((unsigned char*)MFT+45),*((unsigned char*)MFT+44));
          , *((unsigned char*)MFT+21),*((unsigned char*)MFT+20));
          i=((int)(*((unsigned char*)MFT+21))<<8)+*((unsigned char*)MFT+20);//Offset으로 포인터 이동
          printf("First Attribute : 0x%02x%02x%02x%02x\n",*((unsigned char*)MFT+i+3),*((unsigned char*)MFT+i+2),*((unsigned char*)MFT+i+1),*((unsigned char*)MFT+i));
          printf("First Attribute Size : 0x%02x%02x%02x%02x\n",*((unsigned char*)MFT+i+3),*((unsigned char*)MFT+i+2),*((unsigned char*)MFT+i+1),*((unsigned char*)MFT+i));
          ((int)(*((unsigned char*)MFT+i+3))<<24)+
          ((int)(*((unsigned char*)MFT+i+2))<<16)+
          ((int)(*((unsigned char*)MFT+i+1))<<8)+
          *((unsigned char*)MFT+i)
          printf("Second Attribute : 0x%02x%02x%02x%02x\n",*((unsigned char*)MFT+i+3),*((unsigned char*)MFT+i+2),*((unsigned char*)MFT+i+1),*((unsigned char*)MFT+i));
          printf("Second Attribute Size : 0x%02x%02x%02x%02x\n",*((unsigned char*)MFT+i+3),*((unsigned char*)MFT+i+2),*((unsigned char*)MFT+i+1),*((unsigned char*)MFT+i));
          ((int)(*((unsigned char*)MFT+i+3))<<24)+
          ((int)(*((unsigned char*)MFT+i+2))<<16)+
          ((int)(*((unsigned char*)MFT+i+1))<<8)+
          *((unsigned char*)MFT+i)
  • MatrixAndQuaternionsFaq . . . . 151 matches
         == The Matrix and Quaternions FAQ ==
         This FAQ is maintained by "hexapod@netcom.com". Any additional suggestions or related questions are welcome. Just send E-mail to the above address.
         Contributions
         Questions
         Q8. What is the transpose of a matrix?
         Q25. How do I calculate the inverse of a matrix using linear equations?
         TRANSFORMS
         Q39. What is a translation matrix?
         QUATERIONS
         Q45. What are quaternions?
         Q46. How do quaternions relate to 3D animation?
         Q53. How do I use quaternions to perform linear interpolation between matrices?
         Q54. How do I use quaternions to perform cubic interpolation between matrices?
          rows and columns swapped.
          Hence, in this document you will see (for example) a 4x4 Translation
          OpenGL uses a one-dimensional array to store matrices - but fortunately,
          In the code snippets scattered throughout this document, a one-dimensional
          transposed with respect to OpenGL.
         스케일 별루 안쓰니까.. rotation 이라구 보면 되구요. 네번째 행이 translation 성분입니다.
          A matrix is a two dimensional array of numeric data, where each
  • MoreEffectiveC++/Efficiency . . . . 132 matches
         == Item 17:Consider using lazy evaluation ==
          cosnt string& field1() const; // 필드상의 값1
          int field2() const; // 필드상의 값2
          double field3() const; // ...
          const string& field4() const;
          const string& field5() const;
          const string& field1() const;
          int field2() const;
          double field3() const;
          const string& field4() const;
          const string& LargeObject::field() const
         '''lazy fetching'''을 적용 하면, 당신은 반드시 field1과 같은 const멤버 함수를 포함하는 어떠한 멤버 함수에서 실제 데이터 포인터를 초기화하는 과정이 필요한 문제가 발생한다.(const를 다시 재할당?) 하지만 컴파일러는 당신이 const 멤버 함수의 내부에서 데이터 멤버를 수정하려고 시도하면 까다로운(cranky) 반응을 가진다. 그래서 당신은 "좋와, 나는 내가 해야 할것을 알고있어" 말하는 방법을 가지고 있어야만 한다. 가장 좋은 방법은 포인터의 필드를 mutable로 선언해 버리는 것이다. 이것의 의미는 어떠한 멤버 함수에서도 해당 변수를 고칠수 있다는 의미로, 이렇게 어떠한 멤버 함수내에서도 수행할수 있다. 이것이 LargeObject안에 있는 필드들에 mutable이 모두 선언된 이유이다.
         mutable 키워드는 최근에 C++에 추가되어서, 당신의 벤더들이 아직 지원 못할 가능성도 있다. 지원하지 못한다면, 당신은 또 다른 방법으로 컴파일러에게 const 멤버 함수 하에서 데이터 멤버들을 고치는 방안이 필요하다. 한가지 가능할 법인 방법이 "fake this"의 접근인다. "fake this"는 this가 하는 역할처럼 같은 객체를 가리키는 포인터로 pointer-to-non-const(const가 아닌 포인터)를 만들어 내는 것이다. (DeleteMe 약간 이상) 당신이 데이터 멤버를 수정하기를 원하면, 당신은 이 "fake this" 포인터를 통해서 수정할수 있다.:
          const string& field1() const; // 바뀌지 않음
          const string& LargeObject::field1() const
          // 자 이것이 fake This 인데, 저 포인터로 this에 대한 접근에서 const를 풀어 버리는 역할을 한다.
          // LargeObject* 하고 const가 뒤에 붙어 있기 때문에 LargeObject* 자체는 const가 아닌 셈이다.
          LargeObject * const fakeThis = const_cast<LargeObject* const>(this);
          fakeThis->field1Value = // fakeThis 가 const가 아니기 때문에
         이 함수는 *this의 constness성질을 부여하기 위하여 const_cast(Item 2참고)를 사용했다.만약 당신이 const_cast마져 지원 안하면 다음과 같이 해야 컴파일러가 알아 먹는다.
  • EffectiveC++ . . . . 117 matches
         === Item1: Prefer const and inline to #define ===
         DeleteMe #define(preprocessor)문에 대해 const와 inline을(compile)의 이용을 추천한다. --상민
         [#define -> const][[BR]]
         instead of upper..
          const double ASPECT_RATIO = 1.653
         1. 상수 포인터(constant pointer)를 정의하기가 다소 까다로워 진다는 것.
          const char * const authorName = "Scott Meyers";
          static const int NUM_TURNS = 5; // 상수 선언! (선언만 한것임)
          int scores[NUM_TURNS]; // 상수의 사용.
          const int GamePlayer::NUM_TURNS; // 정의를 꼭해주어야 한다.
          inline const T& max (const T& a, const T& b) { return a > b ? a : b; }
         const와 inline을 쓰자는 얘기였습니다. --; 왜 그런지는 아시는 분께서 글좀 남기시구요. ^^[[BR]]
         #define 문을 const와 inline으로 대체해서 써도, #ifdef/#ifndef - #endif 등.. 이와 유사한 것들은 [[BR]]
          매크로는 말 그대로 치환이기 때문에 버그 발생할 확률이 높음. 상수선언이나 함수선언같은 경우는 가급적 const 나 inline으로 대체하는게 좋겠지. (으.. 그래도 실제로 짤때는 상수 선언할때는 #define 남용 경향이..[[BR]]
          * ''생성자(constructor)와 소멸자(destructor)의 존재를 모른다.''
         string *pal = new AddressLines; // "new AddressLines" returns a string *, just "new string[4]"..
          * ''Initialization of the pointer in each of the constructors. If no memory is to be allocated to the pointer in a particular constructor, the pointer should be initialized to 0 (i.e., the null pointer). - 생성자 각각에서 포인터 초기화''
         === Item 7: Be prepared for out-of-memory conditions. ===
          new_handler globalHandler = // install X's
         == Constructors, Destructors, and Assignment Operators (클래스에 관한것들.) ==
  • MoreEffectiveC++/Techniques1of3 . . . . 103 matches
         == Item 25: Virtualizing constructors and non-member functions ==
          === Virtual Constructor : 가상 생성자 ===
         가상 생성자의 방식의 한 종류로 특별하게 가상 복자 생성자(virtual copy constructor)는 널리 쓰인다. 이 가상 복사 생성자는 새로운 사본의 포인터를 반환하는데 copySlef나 cloneSelf같은 복사의 개념으로 생성자를 구현하는 것이다. 다음 코드에서는 clone의 이름을 쓰였다.
          // 가상 복사 생성자 virtual copy constructor 선언
          virtual NLComponent * clone() const = 0;
          virtual TextBlock * clone() const // 가상 복사 생성자 선언
          virtual Graphic * clone() const // 가상 복사 생성자 선언
          NewsLetter(const NewsLetter* rhs); // NewsLetter의 복사 생성자
         NewsLetter::NewsLetter(const NewsLetter* rhs)
          for (list<NLComponent*>::constiterator it = rhs.components.begin();
          === Making Non-Member Functions Act Virtual : 비멤버 함수를 가상 함수처럼 동작하게 하기 ===
          virtual ostream& operator<<(ostream& str) const = 0;
          virtual ostream& operator<<(ostream& str) const;
          virtual ostream& operator<<(ostream& str) const;
          virtual ostream& print(ostream& s) const = 0;
          virtual ostream& print(ostream& s) const;
          virtual ostream& print(ostream& s) const;
         ostream& operator<<(ostream& s, const NLComponent& c)
         class CantBeInstantiated {
          CantBeInstantiated();
  • NSIS/예제2 . . . . 102 matches
         http://zeropage.org/~reset/zb/data/nsis_1.gif
         InstallDir $PROGRAMFILES\Example2
         InstallDirRegKey HKLM SOFTWARE\NSIS_Example2 "Install_Dir"
         ComponentText "This will install the less simple example2 on your computer. Select which optional things you want installed."
         DirText "Choose a directory to install in to:"
          ; Set output path to the installation directory.
          SetOutPath $INSTDIR
          WriteRegStr HKLM SOFTWARE\NSIS_Example2 "Install_Dir" "$INSTDIR"
          ; 윈도우를 위한 Uninstall key를 레지스트리에 저장
          WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2" "DisplayName" "NSIS Example2 (remove only)"
          WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2" "UninstallString" '"$INSTDIR\uninstall.exe"'
          WriteUninstaller "uninstall.exe"
          CreateShortCut "$SMPROGRAMS\Example2\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
          CreateShortCut "$SMPROGRAMS\Example2\Example2 (notepad).lnk" "$INSTDIR\notepad.exe" "" "$INSTDIR\notepad.exe" 0
         http://zeropage.org/~reset/zb/data/nsis_2.gif
         InstallDir $PROGRAMFILES\Example2
         DirText "Choose a directory to install in to:"
         http://zeropage.org/~reset/zb/data/nsis_3.gif
          WriteRegStr HKLM SOFTWARE\NSIS_Example2 "Install_Dir" "$INSTDIR"
          ; 윈도우를 위한 Uninstall key를 레지스트리에 저장
  • Gof/Singleton . . . . 97 matches
          * Instance operation (클래스의 메소드)을 정의한다. Instance 는 클라이언트에게 해당 Singleton의 유일한 인스턴스를 접근할 수 있도록 해준다.
         === Collaborations ===
          * 클라이언트는 오직 Singleton의 Instance operation으로만 Singleton 인스턴스에 접근할 수 있다.
         === Consequences ===
         1. unique instance임을 보증하는 것. SingletonPattern의 경우도 일반 클래스와 마찬가지로 인스턴스를 생성하는 방법은 같다. 하지만 클래스는 늘 단일 인스턴스가 유지되도록 프로그래밍된다. 이를 구현하는 일반적인 방법은 인스턴스를 만드는 operation을 class operations으로 두는 것이다. (static member function이거나 class method) 이 operation은 unique instance를 가지고 있는 변수에 접근하며 이때 이 변수의 값 (인스턴스)를 리턴하기 전에 이 변수가 unique instance로 초기화 되어지는 것을 보장한다. 이러한 접근은 singleton이 처음 사용되어지 전에 만들어지고 초기화됨으로서 보장된다.
         다음의 예를 보라. C++ 프로그래머는 Singleton class의 Instance operation을 static member function으로 정의한다. Singleton 또한 static member 변수인 _instance를 정의한다. _instance는 Singleton의 유일한 인스턴스를 가리키는 포인터이다.
          static Singleton* Instance ();
          static Singleton* _instance;
         Singleton* Singleton::_instance = 0;
         Singleton* Singleton::Instance () {
          if (_instance == 0) {
          _instance = new Singleton;
          return _instance;
         클래스를 사용하는 Client는 singleton을 Instance operation을 통해 접근한다. _instance 는 0로 초기화되고, static member function 인 Instance는 단일 인스턴스 _Instance를 리턴한다. 만일 _instance가 0인 경우 unique instance로 초기화시키면서 리턴한다. Instance는 lazy-initalization을 이용한다. (Instance operation이 최초로 호출되어전까지는 리턴할 unique instance는 생성되지 않는다.)
         더 나아가, _instance 는 Singleton 객체의 포인터이므로, Instance member function은 이 포인터로 하여금 Singleton 의 subclass를 가리키도록 할 수 있다.
          * (c) C++ 은 global 객체의 생성자가 translation unit를 통하면서 호출될때의 순서를 정의하지 않는다[ES90]. 이러한 사실은 singleton 들 간에는 어떠한 의존성도 존재할 수 없음을 의미한다. 만일 그럴 수 있다면, 에러를 피할 수 없다.
         Smalltalk에서 unique instance를 리턴하는 functiond은 Singleton 클래스의 class method로 구현된다. 단일 인스턴스가 만들어지는 것을 보장하기 위해서 new operation을 override한다. The resulting Singleton class might have the following two class methods, where SoleInstance is a class variable that is not used anywhere else:
          SoleInstance isNil ifTrue: [SoleInstance := super new].
          ^ SoleInstance
         2. Singleton class를 subclassing 하기 관련. 주된 주제는 클라이언트가 singleton 의 subclass를 이용할 수 있도록 subclass들의 unique instance를 설정하는 부분에 있다. 필수적으로, singleton 인스턴스를 참조하는 변수는 반드시 subclass의 인스턴스로 초기화되어져야 한다. 가장 단순한 기술은 Singleton의 Instance operation에 사용하기 원하는 singleton을 정해놓는 것이다. Sample Code에는 환경변수들을 가지고 이 기술을 어떻게 구현하는지 보여준다.
  • DPSCChapter1 . . . . 93 matches
         Welcome to ''The Design Patterns Smalltalk Companion'' , a companion volume to ''Design Patterns Elements of Reusable Object-Oriented Software'' by Erich Gamma, Richard Helm, Ralph Johnson, and Jogn Vlissides(Gamma, 1995). While the earlier book was not the first publication on design patterns, it has fostered a minor revolution in the software engineering world.Designers are now speaking in the language of design patterns, and we have seen a proliferation of workshops, publications, and World Wide Web sites concerning design patterns. Design patterns are now a dominant theme in object-oriented programming research and development, and a new design patterns community has emerged.
         ''The Design Patterns Smalltalk Companion'' 의 세계에 오신걸 환영합니다. 이 책은 ''Design Patterns Elements of Reusable Object-Oriented Software''(이하 DP) Erich Gamma, Richard Helm, Ralph Johnson, and Jogn Vlissides(Gamma, 1995). 의 편람(companion, 보기에 편리하도록 간명하게 만든 책) 입니다. 앞서 출간된 책(DP)이 디자인 패턴에 관련한 책에 최초의 책은 아니지만, DP는 소프트웨어 엔지니어링의 세계에 작은 혁명을 일으켰습니다. 이제 디자이너들은 디자인 패턴의 언어로 이야기 하며, 우리는 디자인 패턴과 관련한 수많은 workshop, 출판물, 그리고 웹사이트들이 폭팔적으로 늘어나는걸 보아왔습니다. 디자인 패턴은 객체지향 프로그래밍의 연구와 개발에 있어서 중요한 위치를 가지며, 그에 따라 새로운 디자인 패턴 커뮤니티들이 등장하고 있습니다.(emerge 를 come up or out into view 또는 come to light 정도로 해석하는게 맞지 않을까. ''이제 디자인 패턴은 객체지향 프로그래밍의 연구와 개발에 있어서 중요한 위치를 가지고 있으며, 디자인 패턴 커뮤니티들이 새로이 등장하고 있는 추세입니다.'' 그래도 좀 어색하군. -_-; -- 석천 바꿔봤는데 어때? -상민 -- DeleteMe)gogo..~ 나중에 정리시 현재 부연 붙은 글 삭제하던지, 따로 밑에 빼놓도록 합시다.
         ''Design Patterns'' describes 23 design patterns for applications implemented in an object-oriented programming language. Of course, these 23 patterns do not capture ''all'' the design knowledge an object-oriented designer will ever need. Nonetheless, the patterns from the "Gang of Four"(Gamma et al.) are a well-founded starting point. They are a design-level analog to the base class libraries found in Smalltalk development environments. They do not solve all problems but provide a foundation for learning environments. They do not solve all problems but provide a foundation for learning about design patterns in general and finding specific useful architectures that can be incorporated into the solutions for a wide variety of real-world design problems. They capture an expert level of design knowledge and provide the foundation required for building elegant, maintainable, extensible object-oriented programs.
         In the Smalltalk Companion, we do not add to this "base library" of patterns;rather, we present them for the Smalltalk designer and programmer, at times interpreting and expanding on the patterns where this special perspective demands it. Our goal is not to replace Design Patterns; you should read the Smalltalk Companion with Design Patterns, not instead of it. We have tried not to repeat information that is already well documented by the Gang of Four book. Instead, we refer to it requently;you should too.
         ''Smalltalk Companion에서, 우리는 패턴의 'base library'를 추가하지 않습니다. 그것보다, 우리는 base library들을 Smalltalk 의 관점에서 해석하고 때?灌? 확장하여 Smalltalk 디자이너와 프로그래머를 위해 제공할 것입니다. 우리의 목표는 '''Design Patterns'''을 대체하려는 것이 아닙니다. '''Design Patterns''' 대신 Smalltalk Companion을 읽으려 하지 마시고, 두 책을 같이 읽으십시오. 우리는 이미 Gang of Four에서 잘 문서화된 정보를 반복하지 않을겁니다. 대신, 우리는 GoF를 자주 참조할 것이고, 독자들 역시 그래야 할 것입니다. -- 문체를 위에거랑 맞춰봤음.. 석천''
         == 1.1 Why Design Patterns? ==
         Learning an object-oriented language after programming in another paradigm, such as the traditional procedural style, is difficult. Learning to program and compose application in Smalltalk requires a complex set of new skills and new ways of thinking about problems(e.g Rosson & Carroll, 1990; Singley, & Alpert, 1991). Climbing the "Smalltalk Mountain" learning curve is cetainly nontrivial. Once you have reached that plateau where you feel comfortable building simple Smalltalk applications, there is still a significant distance to the expert peak.
          * Recurring patterns of object configurations and interactions and the sorts of problems for which these cooperating objects provide (at least partial) solutions
         This is by no means an exhaustive list, and even novices understand and use much of the knowledge. But some items, especially the last -- recurring patterns of software design, or design patterns -- are the province of design expert.
         A '''design pattern''' is a reusable implementation model or architecture that can be applied to solve a particular recurring class of problem. The pattern sometimes describes how methods in a single class or subhierarchy of classes work together; more often, it shows how multiple classes and their instances collaborate. It turns out that particular architectures reappear in different applications and systems to the extent that a generic pattern template emerges, one that experts reapply and customize to new application - and domain-specific problems. Hence, experts know how to apply design patterns to new problems to implement elegant and extensible solutions.
         In general, designers -- in numerous domains, not just software -- apply their experience with past problems and solution to new, similar problems. As Duego and Benson(1996) point out, expert designers apply what is known in cognitive psychology and artificial intelligence as '''case-based reasoning''', remembering past cases and applying what they learned there. This is the sort of reasoning that chess masters, doctors, lawyers, and architects empoly to solve new problems. Now, design patterns allow software designers to learn from and apply the experiences of other designers as well. As in other domains, a literature of proven patterns has emerged. As a result, we can "stand on the shoulders of giants" to get us closer to the expert peak. As John Vlissies (1997) asserts, design patterns "capture expertise and make it accessible to non-experts" (p. 32).
         디자이너들-소프트웨어에만 국한하지 않은 수많은 분야에서-은 그들의 과거의 문제와, 해법에 경험을 비슷한 문제에 적용 시킨다. '''''Duego와 Genson(1996)은 전문 디자이너들이 사례를 기반으로 경험에서 인지한 지혜안에서 과거의 사례를 기억하고 그들이 배운것을 적용시키는 것에 주목한다. (생략 및 의역) ''''' 이것은 체스의 고수, 의사, 변호사 그리고 건축가들이 새로운 문제에 대응하는 추론 방식의 한 방식이다. 현재, 디자인 패턴은 소프트웨어 디자이너들이 배워온것들과 다른 분야의 디자이너(other designer)들의 경험들 모두를 감안한다. 이런 노력들은 결과적으로, "거인의 어깨에 올라서 있는것" 같은 방법으로 우리를 훌륭한 디자인에 이끌수 있다. John Vlissies(1997)은 디자인 패턴은 "전문 지식을 잡고 비전문가들이 그것을 이용하기 쉽게 해주는 것이라고 평한다. (p. 32).
         Design patterns also provide a succinct vocabulary with which to describe new designs and retrospectively explain existing ones. Patterns let us understand a design at a high level before drilling down to focus on details. They allow us to envision entire configurations of objects and classes at a large grain size and communicate these ideas to other designers by name. We can say, "Implement the database access object as a Singleton," rather than, "Let's make sure the database access class has just one instance. The class should include a class variable to keep track of the singl instance. The class should make the instance globally available but control access to it. The class should control when the instance is created and ..." Which would you prefer?
         Christopher Alexander and his colleagues have written extensively on the use of design patterns for living and working spaces-homes, buildings, communal areas, towns. Their work is considered the inspiration for the notion of software design patterns. In ''The Timeless Way of Building''(1979) Alexander asserts, "Sometimes there are version of the same pattern, slightly different, in different cultures" (p.276). C++ and Smalltalk are different languages, different environments, different cultures-although the same basic pattern may be viable in both languages, each culture may give rise to different versions.
         The Gang of Four's ''Design Patterns'' presents design issues and solutions from a C+ perspective. It illustrates patterns for the most part with C++ code and considers issues germane to a C++ implementation. Those issue are important for C++ developres, but they also make the patterns more difficult to understand and apply for developers using other languages.
         Gang of Four의 ''Design Patterns'' 은 C++의 관점에서 디자인의 이슈와 해결책들을 제시한다. Design Patterns는 대부분 C++을 이용한 패턴들과, C++의 적용(implementation)과 관련있는 이슈들에 관한 견해를 다루고 있다. 그러한 이슈들은 C++ 개발자들에게는 매우 중요할지 모르지만, 다른 언어들을 이용하고 있는 개발자들에게는 자칫 이해하고 패턴의 적용에 어려움을 가지고 온다.
         This book is designed to be a companion to ''Design Patterns'', but one written from the Smalltalk perspective. One way to think of the ''Smalltalk Companion'', then, is as a variation on a theme. We provide the same pattern as in the Gang of Four book but view them through Smalltalk glasses. (In fact, when we were trying out names for the ''Smalltalk Companion'', someone suggested "DesignPattern asSmalltalkCompanion." However, we decided only hard-core Smalltalkers would get it.)
         이책은 ''Design Patterns'' 에 대한 지침서, 편람으로 제작되었다. 하지만 관점은 ''Design Pattern''이 C++인것에 반하여 이 책은 Smalltalk에 기인한다. 그냥, 이 책 ''Smalltalk Companion''에 대해서 하나의 주제(design pattern)에 관한 다양한 자료 정도로 생각해 줬으면 한다. 우리는 Gang of Four book에서의 같은 패턴을 제공하지만, Smalltalk라는 안경을 통해서 바라볼것이다. (사실, 우리가 이름에 ''Samlltalk Companion''을 넣을때 어떤이는 "DesignPattern asSmalltalkCompanion" 을-역자주 Smalltalk언어상에서의 표현법 때문인것 같습니다.- 제안하기도 했다. 하지만 그런 이름은 hard-core Smalltalkers들만이 그 이름을 받아들일꺼라고 생각했다.)
         But the ''Smalltalk Companion'' goes beyond merely replicating the text of ''Design Patterns'' and plugging in Smalltalk examples whereever C++ appeared. As a result, there are numerous situations where we felt the need for additional analysis, clarification, or even minor disagreement with the original patterns. Thus, many of our discussions should apply to other object-oriented languages as well.
         하지만 ''Smalltalk Companion''은 ''Design Patterns'' 문서를 단순하게 반복 하는것 이상이고 C++ 코드가 있을 경우 Smalltalk 예로 바꾼다. 결과적으로, 우리가 추가적인 분석, 분류, 혹은 기존의 패턴에 대한 약간의 불일치하다고 느끼는 많은 상황이 있다. 그러므로, 우리의 많은 토의가 다른 객체 지향 언어에 잘 적용되야 할 것이다.
  • NSIS/예제3 . . . . 88 matches
         [http://zeropage.org/~reset/zb/download.php?id=KDP_board_image&page=1&page_num=20&category=&sn=&ss=on&sc=on&keyword=&prev_no=&select_arrange=headnum&desc=&no=50&filenum=1 만들어진Installer] - 실행가능.
         == nsi script ==
         ; tetris.nsi
         Caption "Tetris Install"
         BrandingText "ZeroPage Install v1.0"
         ; Installer 의 아이콘. 반드시 32 * 32 * 16 color 이여야 한다.
         ; Install 버튼에 대한 text
         InstallButtonText "설치"
         InstallDir $PROGRAMFILES\zp_tetris
         LicenseText "인스톨 하기 전 이 문구를 읽어주십시오" "동의합니다"
         LicenseData f:\tetris\zp_license.txt
         ; Install 관련 Type 의 셋팅
         InstType "Normal Install"
         InstType "Full Install"
         ;InstType /NOCUSTOM
         ;InstType /COMPONENTSONLYONCUSTOM
         ShowInstDetails show
         ShowUninstDetails show
         ShowInstDetails show
         InstallColors FFFF00 000000
  • AcceleratedC++/Chapter11 . . . . 87 matches
         vector<Student_info>::const_iterator b, e;
          따라서 어떤 타입이 Vec에서 사용되는진는 정의부가 instiation 되기 전에는 알 수 없다.
          === 11.2.2 생성자(Constructor) ===
         Vec<Student_info> vs; // default constructor
          explicit Vec(size_type n, const T& val = T()) { create(n, val); }
          '''const_iterator, iterator'''를 정의해야함.
          back_inserter(T)함수를 통해서 동적으로 크기를 변경시키기 위해서 '''value_type, push_back''' 타입을 정의함. (value_type 은 현재 저장된 요소가 어떤 타입인지를 알려줌)
          typedef const T* const_iterator;
          explicit Vect(size_type n, const T& val = T()) { create(n, val); }
          typedef const T* const_iterator;
          explicit Vect(size_type n, const T& val = T()) { create(n, val); }
          size_type size() const { return limit - data; }
          const T& operator[](size_type i) const { return data[i]; }; // 이경우에도 레퍼런스를 쓰는 이유는 성능상의 이유때문이다.
          모든 멤버함수는 암묵적으로 한가지의 인자를 더 받는다. 그것은 그 함수를 호출한 객체인데, 이경우 그 객체가 const이거나 const 가 아닌 버전 2가지가 존재하는 것이 가능하기 때문에 parameter specification 이 동일하지만 오버로딩이 가능하다.
          typedef const T* const_iterator;
          explicit Vect(size_type n, const T& val = T()) { create(n, val); }
          size_type size() const { return limit - data; }
          const T& operator[](size_type i) const { return data[i]; }; // 이경우에도 레퍼런스를 쓰는 이유는 성능상의 이유때문이다.
          const_iterator begin() const { return data; }
          const_iterator end() const { return limit; }
  • 김희성/MTFREADER . . . . 86 matches
          long ReadAttribute(FILE* fp, unsigned char* offset, long flag);
          __int64 ReadCluster(unsigned char* point,unsigned char* info);
          unsigned __int64 point,i,j,k,temp;
          unsigned __int64 HeaderSize;
          unsigned __int64 offset;
          for(j=1;j<=*((unsigned short*)((unsigned char*)$MFT+6));j++)
          *((char*)$MFT+*((unsigned short*)((unsigned char*)$MFT+4)))
          *((char*)$MFT+*((unsigned short*)((unsigned char*)$MFT+4))+1)
          *((char*)$MFT+*((unsigned short*)((unsigned char*)$MFT+4))+2*j);
          *((char*)$MFT+*((unsigned short*)((unsigned char*)$MFT+4))+2*j+1);
          point=*((unsigned short*)((unsigned char*)$MFT+20));//Offset으로 포인터 이동
          while(*((unsigned long*)((unsigned char*)$MFT+point))!=0xFFFFFFFF)
          *((unsigned char*)MFT+point+9) = Attribute Name Size
          if(*((unsigned char*)$MFT+point+8))
          HeaderSize=64+*((unsigned char*)$MFT+point+9);
          HeaderSize=24+*((unsigned char*)$MFT+point+9);
          switch(*((unsigned long*)((unsigned char*)$MFT+point)))
          MFT=PFILE_RECORD_HEADER(new U8[*((unsigned __int64*)((unsigned char*)$MFT+point+40))]);
          i=*(short*)((unsigned char*)$MFT+point+32);
          MFTLength=ReadCluster((unsigned char*)$MFT+point+i,(unsigned char*)MFT);
  • NSIS/Reference . . . . 81 matches
         원문 : http://www.nullsoft.com/free/nsis/makensis.htm
         주로 이용하는 것들 (["NSIS/예제1"], ["NSIS/예제2"], ["NSIS/예제3"] 을 작성할 때 필요한 것 정도의 수준)위주로 정리. 좀 더 자세한 것에 대해서는 원문을 참조.
         == Installer attributes ==
         || || || 0 - License Agreement ||
         || || || 1 - Installation Options ||
         || || || 2 - Installation Directory ||
         || || || 3 - Installing Files ||
         || BrandingText || "ZeroPage Installer System v1.0" || 인스톨러 하단부에 보여지는 텍스트 ||
         || Icon || "setup.ico" || Installer 의 아이콘. 반드시 32*32*16 color 이여야 한다. ||
         || InstallButtonText || "설치 || Install 버튼에 대한 text 의 설정 ||
         === Install Directory ===
         || InstallDir || $PROGRAMFILES\example || 기본 설치 디렉토리 ||
         || InstallDirRegKey || . || . ||
         === License Page - 라이센스 관련 페이지에 쓰이는 속성들 ===
         || LicenseText || "인스톨 하기 전 이 문구를 읽어주십시오" "동의합니다"|| license text 에서의 구체적 문구 ||
         || LicenseData || zp_license.txt || 해당 license 문구 텍스트가 담긴 화일 ||
         || InstType || "Full Install" || Install 관련 component type 에 대한 정의. 순서대로 1,2,3,4...8 까지의 번호들이 매겨지며, 이는 추후 SectionIn 에서 해당 component 에 대한 포함관계시에 적용된다. ||
         || AllowRootDirInstall || false || 루트디렉토리에 설치할 수 있도록 허용할것인지에 대한 여부 ||
         === Install Page - 실질적인 Install 화면을 표시하는 페이지에 쓰이는 속성들 ===
         || InstallColors || FFFF00 000000 || foregroundcolor backgroundcolor. 또는 /windows 옵션을 이용가능 ||
  • C/C++어려운선언문해석하기 . . . . 72 matches
         원문 : How to interpret complex C/C++ declarations (http://www.codeproject.com/cpp/complex_declarations.asp)
         다루겠습니다. 우리가 매일 흔히 볼 수 있는 선언문을 비롯해서 간간히 문제의 소지를 일으킬 수 있는 const 수정자와 typedef 및 함수
         [[ const modifier ]]
         const 수정자는 변수가 변경되는 것을 금지 (변수 <-> 변경할 수 없다? 모순이군요 ) 하기 위해서 사용하는 키워드입니다. const 변수
         const int n = 5;
         int const m = 10;
         위의 예제의 두 변수 n과 m은 똑같이 const 정수형으로 선언되었습니다. C++ 표준에서 두가지 선언이 모두 가능하다고 나와있습니만 개
         인적으로는 const가 강조되어서 의미가 더 분명한 첫번째 선언문을 선호합니다.
         const가 포인터와 결합되면 조금 복잡해집니다. 예를 들어서 다음과 같은 변수 p, q가 선언되었습니다.
         const int *p;
         int const *q;
         그럼 여기서 퀴즈, const int형을 가리키는 포인터와 int형을 가리키는 const 포인터를 구별해보세요.
         사실 두 변수 모두 const int를 가리키는 포인터입니다. int 형을 가리키는 const 포인터는 다음과 같이 선언됩니다.
         int * const r = &n; // n 은 int형 변수로 선언 되었슴
         위에서 p와 q는 const int형 변수이기 때문에 *p 나 *q의 값을 변경할 수 없습니다. r은 const 포인터이기 때문에 일단 위와 같이 선언
         위에서 나온 두 가지 선언문을 결합하여 const int 형을 가리키는 const 포인터를 선언하려고 하면 다음과 같습니다.
         const int * const p = &n; // n은 const int형 변수로 선언되었슴
         다음에 나열한 선언문들을 보시면 const를 어떻게 해석할 수 있는지 더 분명하게 아실 수 있을겁니다. 이 중에 몇몇 선언문은 선언하면
         const char **p2; // pointer to pointer to const char
         char * const * p3; // pointer to const pointer to char
  • AcceleratedC++/Chapter14 . . . . 65 matches
          Handle(const Handle& s) : p(0) { if (s.p) p = s.p->clone(); } // 복사 생성자는 인자로 받은 객체의 clone() 함수를 통해서 새로운 객체를 생성하고 그 것을 대입한다.
          Handle& operator=(const Handle&);
          operator bool() const { return p; }
          T& operator*() const;
          T* operator->() const;
         template<class T> Handle<T>& Handle<T>::operator=(const Handle& rhs) {
         template<class T> T& Handle<T>::operator*() const {
         template<class T> T* Handle<T>::operator->() const {
         bool compare_Core_handles(const Handle<Core>& lhs, const Handle<Core>& rhs) {
          // `compare' must be rewritten to work on `const Handle<Core>&'
          // `students[i]' is a `Handle', which we dereference to call the functions
          std::string name() const {
          double grade() const {
          static bool compare(const Student_info& s1,
          const Student_info& s2) {
          Ref_handle(const Ref_handle& h): p(h.p), refptr(h.refptr) {
          Ref_handle& operator=(const Ref_handle&);
          operator bool() const { return p; }
          T& operator*() const {
          T* operator->() const {
  • MoreEffectiveC++/Appendix . . . . 65 matches
         So your appetite for information on C++ remains unsated. Fear not, there's more — much more. In the sections that follow, I put forth my recommendations for further reading on C++. It goes without saying that such recommendations are both subjective and selective, but in view of the litigious age in which we live, it's probably a good idea to say it anyway. ¤ MEC++ Rec Reading, P2
         What follows is the list of books I find myself consulting when I have questions about software development in C++. Other good books are available, I'm sure, but these are the ones I use, the ones I can truly recommend. ¤ MEC++ Rec Reading, P5
         These books contain not just a description of what's in the language, they also explain the rationale behind the design decisions — something you won't find in the official standard documents. The Annotated C++ Reference Manual is now incomplete (several language features have been added since it was published — see Item 35) and is in some cases out of date, but it is still the best reference for the core parts of the language, including templates and exceptions. The Design and Evolution of C++ covers most of what's missing in The Annotated C++ Reference Manual; the only thing it lacks is a discussion of the Standard Template Library (again, see Item 35). These books are not tutorials, they're references, but you can't truly understand C++ unless you understand the material in these books
         For a more general reference on the language, the standard library, and how to apply it, there is no better place to look than the book by the man responsible for C++ in the first place: ¤ MEC++ Rec Reading, P10
         Stroustrup has been intimately involved in the language's design, implementation, application, and standardization since its inception, and he probably knows more about it than anybody else does. His descriptions of language features make for dense reading, but that's primarily because they contain so much information. The chapters on the standard C++ library provide a good introduction to this crucial aspect of modern C++. ¤ MEC++ Rec Reading, P12
         If you're ready to move beyond the language itself and are interested in how to apply it effectively, you might consider my other book on the subject: ¤ MEC++ Rec Reading, P13
          * '''''Effective C++''''', Second Edition: 50 Specific Ways to Improve Your Programs and Designs, Scott Meyers, Addison-Wesley, 1998, ISBN 0-201-92488-9. ¤ MEC++ Rec Reading, P14
         Each chapter in this book starts with some C++ software that has been published as an example of how to do something correctly. Cargill then proceeds to dissect — nay, vivisect — each program, identifying likely trouble spots, poor design choices, brittle implementation decisions, and things that are just plain wrong. He then iteratively rewrites each example to eliminate the weaknesses, and by the time he's done, he's produced code that is more robust, more maintainable, more efficient, and more portable, and it still fulfills the original problem specification. Anybody programming in C++ would do well to heed the lessons of this book, but it is especially important for those involved in code inspections. ¤ MEC++ Rec Reading, P21
         One topic Cargill does not discuss in C++ Programming Style is exceptions. He turns his critical eye to this language feature in the following article, however, which demonstrates why writing exception-safe code is more difficult than most programmers realize: ¤ MEC++ Rec Reading, P22
         "Exception Handling: A False Sense of Security," °C++ Report, Volume 6, Number 9, November-December 1994, pages 21-24. ¤ MEC++ Rec Reading, P23
         If you are contemplating the use of exceptions, read this article before you proceed. ¤ MEC++ Rec Reading, P24
         I generally refer to this as "the LSD book," because it's purple and it will expand your mind. Coplien covers some straightforward material, but his focus is really on showing you how to do things in C++ you're not supposed to be able to do. You want to construct objects on top of one another? He shows you how. You want to bypass strong typing? He gives you a way. You want to add data and functions to classes as your programs are running? He explains how to do it. Most of the time, you'll want to steer clear of the techniques he describes, but sometimes they provide just the solution you need for a tricky problem you're facing. Furthermore, it's illuminating just to see what kinds of things can be done with C++. This book may frighten you, it may dazzle you, but when you've read it, you'll never look at C++ the same way again. ¤ MEC++ Rec Reading, P27
         Carroll and Ellis discuss many practical aspects of library design and implementation that are simply ignored by everybody else. Good libraries are small, fast, extensible, easily upgraded, graceful during template instantiation, powerful, and robust. It is not possible to optimize for each of these attributes, so one must make trade-offs that improve some aspects of a library at the expense of others. Designing and Coding Reusable C++ examines these trade-offs and offers down-to-earth advice on how to go about making them. ¤ MEC++ Rec Reading, P30
         Regardless of whether you write software for scientific and engineering applications, you owe yourself a look at ¤ MEC++ Rec Reading, P31
         The first part of the book explains C++ for FORTRAN programmers (now there's an unenviable task), but the latter parts cover techniques that are relevant in virtually any domain. The extensive material on templates is close to revolutionary; it's probably the most advanced that's currently available, and I suspect that when you've seen the miracles these authors perform with templates, you'll never again think of them as little more than souped-up macros. ¤ MEC++ Rec Reading, P33
         Finally, the emerging discipline of patterns in object-oriented software development (see page 123) is described in ¤ MEC++ Rec Reading, P34
          * '''''Design Patterns''''': Elements of Reusable Object-Oriented Software, Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, Addison-Wesley, 1995, ISBN 0-201-63361-2. ¤ MEC++ Rec Reading, P35
         This book provides an overview of the ideas behind patterns, but its primary contribution is a catalogue of 23 fundamental patterns that are useful in many application areas. A stroll through these pages will almost surely reveal a pattern you've had to invent yourself at one time or another, and when you find one, you're almost certain to discover that the design in the book is superior to the ad-hoc approach you came up with. The names of the patterns here have already become part of an emerging vocabulary for object-oriented design; failure to know these names may soon be hazardous to your ability to communicate with your colleagues. A particular strength of the book is its emphasis on designing and implementing software so that future evolution is gracefully accommodated (see Items 32 and 33). ¤ MEC++ Rec Reading, P36
         Design Patterns is also available as a CD-ROM: ¤ MEC++ Rec Reading, P37
          * '''''Design Patterns CD''''': Elements of Reusable Object-Oriented Software, Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, Addison-Wesley, 1998, ISBN 0-201-63498-8. ¤ MEC++ Rec Reading, P38
  • MoreEffectiveC++/Exception . . . . 65 matches
         일단 여러분은 파일에서 부터 puppy와 kitten와 키튼의 정보를 이렇게 읽고 만든다. 사실 Item 25에 언급할 ''virtual constructor''가 제격이지만, 일단 우리에 목적에 맞는 함수로 대체한다.
          void processAdoptions( istream& dataSource)
          void processAdoptions( istream& dataSource)
          void processAdoptions(istream& dataSource)
          void displayIntoInfo(const Information& info)
          WindowHandle(const WindowHandle&);
          WindowHandle& operator=(const WindowHandle);
          void displayIntoInfo(const Information& info)
         == Item 10: Prevent resource leaks in constructors. ==
          Image(const string& imageDataFileName);
          AudioClip(const string& audioDataFileName);
          BookEntry(const string& name,
          const string& address = "",
          const string& imageFileName = "",
          const string& audioClipFileName = "");
          void addPhoneNumber(const PhoneNumber& number);
          BookEntry::BookEntry(const string& name,
          const string& address,
          const string& imageFileName,
          const string& audioClipFileName)
  • RandomWalk2/Insu . . . . 63 matches
         const int MAXCOURSE = 100;
         const int MAXCOURSE = 100;
          RandomWalkBoard(int nRow, int nCol, int DirectX[], int DirectY[], const Roach& roach);
          void ShowStatus() const;
          bool CheckCompletelyPatrol() const;
          bool CheckEndCourse() const;
          const string& GetCourse() const;
          int GetCurRow() const;
          int GetCurCol() const;
          void CheckDirectionAndMove(const vector<int>& X, const vector<int>& Y, int nRow, int nCol, int direction);
          int GetTotalVisitCount() const;
         RandomWalkBoard::RandomWalkBoard(int nRow, int nCol, int DirectX[], int DirectY[], const Roach& roach) : _Roach(roach)
         void RandomWalkBoard::ShowStatus() const
         bool RandomWalkBoard::CheckCompletelyPatrol() const
         bool RandomWalkBoard::CheckEndCourse() const
         const string& Roach::GetCourse() const
         int Roach::GetCurRow() const
         int Roach::GetCurCol() const
         int Roach::GetTotalVisitCount() const
         void Roach::CheckDirectionAndMove(const vector<int>& X, const vector<int>& Y, int nRow, int nCol, int direction)
  • NSIS . . . . 61 matches
         == NSIS ==
         보통 프로그램을 개발하고 나서 '만들었다' 로 끝나는 경우가 많다. 하지만, 정작 배포때에는 할일이 많다. 특히 제어판 프로그램 등록/삭제 에 등록되는 방식이라던지, 레지스트리를 건드린다던지, Program Files 폴더에 복사한다던지. 이 경우에는 보통 전용 Installer 프로그램을 쓰게 되지만, 아직 제대로 써본 적이 없었던 것 같다.
         이번에는 '배포' 라는 녀석에 대해 촛점을 맞춰보고자, 인스톨러중 하나인 NSIS 에 대해 간단히 정리하고자 한다. (자.. 이제 폼좀 내면서 만든 프로그램 보여주자. ^^; 이게 가장 큰 목적. --;)
         nsis 는 free software 이며, 소스가 공개되어있다. 관심있는 사람들은 분석해보시길.
          * http://www.nullsoft.com/free/nsis/ - null software 의 nsis 관련 홈페이지.
          * http://forums.winamp.com/forumdisplay.php?forumid=65 - nsis discussion
          * http://www.nullsoft.com/free/nsis/makensitemplate.phtml - .nsi code generator
         NSIS의 원리는 간단하다. nsi 라는 스크립트 화일을 해석해서 해당 맞는 프로그램들을 하나의 화일로 압축시키고 실행프로그램으로 만드는 것이다. (마치 배치화일을 작성한다고 생각할수도 있겠다.)
          * NSI Script 를 작성한다.
          * makensis 로 Script 를 컴파일한다. 그러면 makensis 는 스크립트를 분석하면서 포함해야 할 화일들을 하나로 묶어준다. 그리고 zip의 형식으로 압축해준다. (내부적으로 zip2exe 가 이용된다. 이건 zlib 사용됨.)
          * 하나의 Install 화일 생성. 완료. (뿌리자~ -_-v)
         === MakeNSIS usage ===
         NSIS installer들은 'MakeNSIS' 프로그램에 의해서 NSI script (.NSI) 를 컴파일함으로서 만들어진다.
         makensis 의 실행 문법은 대강 다음과 같다.
         Makensis [/Vx] [/Olog] [/LICENSE] [/PAUSE] [/NOCONFIG] [/CMDHELP [command]] [/HDRINFO] [/CD] [/Ddefine[=value] ...]
          ["/XCommand parameter" ...] [Script.nsi | - [...]]
          * /LICENSE - license page를 보여준다.
          * /PAUSE - Makensis 가 종료되기 전 중간에 일시정지해준다. 이는 Windows 에서 직접 실행할 때 유용하다.
          * /NOCONFIG - nsisconfi.nsi 을 포함하지 않는다. 이 파라메터가 없는 경우, 인스톨러는 기본적으로 nsisconf.nsi 로부터 기본설정이 세팅된다. (NSIS Configuration File 참조)
         NSIS 는 인스톨하고 난 뒤에는 오른쪽버튼 shell-extension 에 해당 확장자 컴파일이 등록된다. 하지만 command 로 수동으로 옵션을 설정하면서 입력해주는 것이 더 편하다.
  • PowerOfCryptography/조현태 . . . . 60 matches
         const int TRUE=1;
         const int FALSE=0;
         unsigned __int64 such_target_number(unsigned __int64 mokpyo, unsigned __int64 gaesu)
          unsigned __int64 min_answer=1, max_answer=mokpyo+1;
          while (min_answer+1!=max_answer)
          unsigned __int64 temp_target=(min_answer+max_answer)/2;
          unsigned __int64 temp_result=1;
          for (register unsigned __int64 i=0; i<gaesu; ++i)
          max_answer=temp_target;
          min_answer=temp_target;
          unsigned __int64 intput_number=0;
          unsigned __int64 gob_gaesu=0;
          unsigned __int64 answer=such_target_number(intput_number,gob_gaesu);
          if (FALSE==answer)
          cout << "결과값은 " <<answer << " 입니다.\n";
         const int TRUE=1;
         const int FALSE=0;
         const int ENTER=13;
         const unsigned __int64 MAX_LONG=1000000000000000000;
          unsigned __int64 number;
  • VendingMachine/세연/1002 . . . . 60 matches
          2. 소위 magic number (ex : 배열의 범위를 설정하는 숫자들) 라 불리는 것들에 대해 - const 변수 선언[[BR]]
          MENU_INSERT_DRINK
          case MENU_INSERT_DRINK:
          VendingMachine.InsertDrink();
          return choice >= MENU_END && choice <= MENU_INSERT_DRINK;
          MENU_INSERT_DRINK,
          MENU_END = MENU_INSERT_DRINK
         const int DRINKNAME_MAXLENGTH = 255;
         const int TOTAL_DRINK_TYPE = 5;
          MENU_INSERT_DRINK,
          MENU_END = MENU_INSERT_DRINK
         const int DRINKNAME_MAXLENGTH = 255;
         const int TOTAL_DRINK_TYPE = 5;
          int select_money, select_drink, insert_amount;
          void InsertDrink();
         void vending_machine::InsertDrink()
          cin >> insert_amount;
          s_drink[select_drink - 1].amount += insert_amount;
          s_drink[select_drink - 1].amount += insert_amount;
          s_drink[select_drink - 1].amount += insert_amount;
  • [Lovely]boy^_^/3DLibrary . . . . 58 matches
         #ifndef _3D_INSU_LIB_
         #define _3D_INSU_LIB_
         const float PI = (float)(atan(1.0) * 4.0);
          Matrix(const Matrix& m);
          Matrix operator + (const Matrix& m) const;
          Matrix operator - (const Matrix& m) const;
          Matrix operator - () const;
          Matrix operator * (const Matrix& m) const;
          Vector operator * (const Vector& v) const;
          Matrix operator * (float n) const;
          friend ostream& operator << (ostream& os, const Matrix& m);
          friend Matrix operator * (float n, const Matrix& m);
          Vector(const Vector& v);
          float operator * (const Vector& v) const;
          Vector operator * (float n) const;
          Vector operator ^ (const Vector& v) const;
          Vector operator - () const;
          Vector operator + (const Vector& v) const;
          Vector operator - (const Vector& v) const;
          Vector Normalize() const;
  • BusSimulation/조현태 . . . . 54 matches
         const int MOVE=1;
         const int STOP=0;
          humans=new man*[station_size];
          humans[i]=0;
          if (0!=humans[i])
          delete humans[i];
          delete humans;
          humans[number_man]=new man(station_number,station_number+rand()%(numbers_station-station_number-1)+1);
          man *temp_man=humans[0];
          humans[0]=0;
          humans[i-1]=humans[i];
          humans[i]=0;
          humans[number_man]=in_people;
          if (in_station->where_here()==humans[i]->where_go())
          delete humans[i];
          humans[i]=0;
          humans[j-1]=humans[j];
          humans[j]=0;
          humans=new man*[bus_size];
          humans[i]=0;
  • MoreEffectiveC++/Miscellany . . . . 53 matches
         == Item 32: Program in the Future tense ==
         좋은 소프트웨어는 변화를 잘 수용한다. 새로운 기능을 수용하고, 새로운 플랫폼에 잘 적용되고, 새로운 요구를 잘 받아 들이며, 새로운 입력을 잘 잡는다. 이런 소프트웨어는 유연하고, 강하고, 신뢰성있고, 돌발 상황(사고)에 의해 죽지 않는다. 이런 소프트웨어는 미래에 필요한 요소를 예상하고, 오늘날 구현시에 포함시키는 프로그래머들에 의해서 디자인된다. 이러한 종류의 소프트웨어는-우아하게 변화하는 소프트웨어- ''program in the future tens''(매래의 프로그램:이하 영문 직접 사용)을 감안하는 사람들이 작성한다.
         ''program in future tense''는, 변화의 수용하고, 준비한다. 라이브러에 추가될 새로운 함수, 앞으로 일어날 새로운 오버로딩(overloading)을 알고, 잠재적으로 모호성을 가진 함수들의 결과를 예측한다. 새로운 클래스가 상속 계층에 추가될 것을 알고, 이러한 가능성에 대하여 준비한다. 새로운 어플리케이션에서 코드가 쓰이고, 그래서 새로운 목적으로 함수가 호출되고, 그런 함수들이 정확히 동작을 유지한다. 프로그래머들이 유지 보수를 할때, 일반적으로 원래의 개발자의 영역이 아닌, 유지 보수의 몫을 안다. 그러므로, 다른 사람에 의해서 소프트웨어는 이해, 수정, 발전의 관점에서 구현하고 디자인된다.
         "변화한다.", 험난한 소프트웨어의 발전에 잘 견디는 클래스를 작성하라. (원문:Given that things will change, writeclasses that can withstand the rough-and-tumble world of software evolution.) "demand-paged"의 가상 함수를 피하라. 다른 이가 만들어 놓지 않으면, 너도 만들 방법이 없는 그런 경우를 피하라.(모호, 원문:Avoid "demand-paged" virtual functions, whereby you make no functions virtual unless somebody comes along and demands that you do it) 대신에 함수의 ''meaning''을 결정하고, 유도된 클래스에서 새롭게 정의할 것인지 판단하라. 그렇게 되면, 가상(virtual)으로 선언해라, 어떤 이라도 재정의 못할지라도 말이다. 그렇지 않다면, 비가상(nonvirtual)으로 선언해라, 그리고 차후에 그것을 바꾸어라 왜냐하면 그것은 다른사람을 편하게 하기 때문이다.;전체 클래스의 목적에서 변화를 유지하는지 확신을 해라.
         문자열 객체에 대한 메모리의 할당은-문자의 값을 가지고 있기 위해 필요로하는 heap메모리까지 감안해서-일반적으로 char*이 차지하는 양에 비하여 훨씬 크다. 이러한 관점에서, vtpr에 의한 오버헤드(overhead)는 미미하다. 그럼에도 불구하고, 그것은 할만한(합법적인,올바른) 고민이다. (확실히 ISO/ANSI 포준 단체에서는 그러한 관점으로 생각한다. 그래서 표준 strnig 형은 비 가상 파괴자(nonvirtual destructor) 이다.)
         auto_ptr<String> ps(String::makeString("Future tense C++"));
         String s("Future tense C++");
          Animal& operator=(const Animal& rhs);
          Lizard& operator=(const Lizard& rhs);
          Chicken& operator=(const Chicken& rhs);
          virtual Animal& operator=(const Animal& rhs);
          virtual Lizard& operator=(const Animal& rhs);
          virtual Chicken& operator= (const Animal& rhs);
         Lizard& Lizard::operator=(const Animal& rhs)
          const Lizard& rhs_liz = dynamic_cast<const Lizard&>(rhs);
          virtual Lizard& operator=(const Animal& rhs);
          Lizard& operator=(const Lizard& rhs); // 더한 부분
         liz1 = liz2; // const Lizard&를 인자로 하는 operator= 호출
         *pAnimal1 = *pAnimal2; // const Ainmal&인자로 가지는 operator= 연산자 호출
         const Animal&을 인자로 하는 연산자의 구현은 구현은 간단한다.
  • AcceleratedC++/Chapter6 . . . . 49 matches
         ret.insert(ret.end(), bottom,begin(), bottom.end());
         copy(bottom.begin(), bottom.end(), back_inserter(ret));
          * 음. 또 새로운 것이 보이지 않는가? copy는 generic algorithm의 예이고, back_inserter는 반복자 어댑터의 예이다. 이게 무엇인지는 차근차근 살펴보도록 하자.
          * 다음으로 반복자 어댑터(Iterator Adapters)를 살펴보자. 반복자 어댑터는 컨테이너를 인자로 받아, 정해진 작업을 수행하고 반복자를 리턴해주는 함수이다. copy알고리즘에 쓰인 back_inserter는 ret의 뒤에다가 copy를 수행한다는 것이다. 그럼 다음과 같이 쓰고 싶은 사람도 있을 것이다.
         vector<string> split(const string& str)
          typedef string::const_iterator iter;
         bool isPalindrome(const string& s)
         std::vector<std::string> find_urls(const std::string& s);
         string::const_iterator url_end(string::const_iterator, string::const_iterator);
         string::const_iterator url_beg(string::const_iterator, string::const_iterator);
         vector<string> find_urls(const string& s)
          typedef string::const_iterator iter;
         string::const_iterator url_end(string::const_iterator b, string::const_iterator e)
          static const string url_ch = "~;/?:@=&$-_.+!*'(),";
         string::const_iterator url_beg(string::const_iterator b, string::const_iterator e)
          static const string sep = "://";
          typedef string::const_iterator iter;
          bool did_all_hw(const Student_info& s)
         double median_anlysis(const vector<Strudent_info>& students)
          transform(students.begin(), students.end(),
  • OurMajorLangIsCAndCPlusPlus/string.h . . . . 46 matches
         == 함수 (Functions) ==
         || void * memcpy(void * dest, const void * scr, size_t count) || Copies characters between buffers. ||
         || void * memccpy(void * dest, const void * scr, int c, unsigned int count) || Copies characters from a buffer. ||
         || void * memmove(void * dest, const void * scr, size_t count) || Moves one buffer to another. ||
         || int memcmp(const void * buf1, const void * buf2, size_t count) || Compare characters in two buffers. ||
         || int memicmp(const void * buf1, const void * buf2, unsigned int count) || Compares characters in two buffers (case-insensitive). ||
         || void * memchr(const void * buf, int c, size_t count) || Finds characters in a buffer. ||
         || char * strcpy(char * strDestination , const char * strSource ) || Copy a string. ||
         || char * strncpy(char * strDestination, const char * strSource, size_t count) || Copy characters of one string to another ||
         || char * strcat(char * strDestination, const char * strSource) || Append a string. ||
         || char * strncat(char * strDestination, const char * strSource, size_t count) || Append characters of a string. ||
         || int strcmp(const char *stirng1, const char *string2) || Compare strings. ||
         || int strcmpi(const char *stirng1, const char *string2) || Compares two strings to determine if they are the same. The comparison is not case-sensitive. ||
         || int stricmp(const char *stirng1, const char *string2) || Perform a lowercase comparison of strings. ||
         || int strncmp(const char *string1, const char *string2, size_t count) || Compare characters of two strings. ||
         || int strnicmp(const char *string1, const char *string2, size_t count) || Compare characters of two strings without regard to case. ||
         || char * strnset(char *stirng, int c, size_t count) || Initialize characters of a string to a given format. ||
         || size_t strlen(const char *string) || Get the length of a string. ||
         || int strcoll(const char * stirng1, const char * stirng2) || Compare strings using locale-specific information. ||
         || char * strchr(const char *string, int c) || Find a character in a string. ||
  • Kongulo . . . . 45 matches
         # modification, are permitted provided that the following conditions are
         # * Redistributions of source code must retain the above copyright
         # notice, this list of conditions and the following disclaimer.
         # * Redistributions in binary form must reproduce the above
         # copyright notice, this list of conditions and the following disclaimer
         # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
          - When recrawling, uses If-Modified-Since HTTP header to minimize transfers
         For usage instructions, run with -h flag.
         Requires Python 2.4 and the win32all extensions for Python 2.4 on Windows.
         Will not work unless Google Desktop Search 1.0 or later is installed.
          as exceptions.'''
          def Populate(self, options):
          '''Given an options object as used by Kongulo, ask the user for the
          if not options.pw:
          for item in options.pw.split(','):
          print "!!! Need login info for (%s @ %s), consider using -p flag" % args
         # exceptions for HTTP error codes we handle explicitly.
          """Strip repeated sequential definitions of same user agent, then
          rules. Maintains a cache of robot rules already fetched.'''
          """Returns true if it's OK to crawl the absolute URL provided."""
  • AcceleratedC++/Chapter9 . . . . 44 matches
          double grade() const; //내부 멤버변수를 활용하여 점수를 계산하고 double 형으로 리턴한다.
          //함수 명의 뒤에 const를 붙이면 멤버 변수의 변형을 할 수 없는 함수가 된다. (구조적으로 좋다)
         double Student_info::grade() const {
          객체에서는 const 객체 내부의 데이터들을 const형으로 다룰 수는 없지만, 멤버함수를 const 멤버함수로 만듦으로써 변형에 제한을 줄 수 있다.
          * const 객체에 대해서는 const 멤버함수가 아닌 함수는 호출 할 수 없다.
          double grade() const;
          double grade() const;
          dobule grade() const;
          double grade() const;
          dobule grade() const;
          double grade() const;
          std::string name() const {return n;}
          name 멤버 변수에 직접적으로 접근하는 대신에 name()함수를 만들어서 접근하도록 만들었다. const 함수이므로 멤버변수의 변경을 불허한다. 리턴값이 복사된 것이기 때문에 변경을 하더라도 멤버변수에 영향을 주지는 않는다.
         bool compare(const Student_info& x, const Student_info& y) {
          double grade() const;
          std::string name() const {return n;}
          bool valid() const { return !homework.empty(); } // 사용자에게 그 객체가 유효한 데이터를 가졌는지를 알려준다.
          double grade() const;
          std::string name() const {return n;}
          bool valid() const { return !homework.empty(); } // 사용자에게 그 객체가 유효한 데이터를 가졌는지를 알려준다.
  • 영호의바이러스공부페이지 . . . . 41 matches
         and this magazines contains code that can be compiled to viruses.
          Editior, Technical Consultant - Hellraiser
          Co-Editor, Theory Consultant - Bionic Slasher
          Removal Instructions: Scan/D, F-Prot 1.12+, or Delete infected
          cmp dx,0 ;returns msh
         found it compares the virus id string (the virus jump instruction) to the
         functions to infect.
         Returns
         AX = bytes transferred
          HOW TO CREATE NEW VIRUS STRAINS
         named John Mcafee gets his greedy hands on them and turns them into big
         viruses so the scanners wont catch them, in turn making them new strains.
         lower versions) PCTOOLS Hex Editor will work too but it takes more work.
         select fill. Fill the lower half of the file will nonsense characters, its
         Write down the locations in the file where these strings are. Ex 0100h etc..
         You see? You didn't change the way the code functions (THATS IF YOU KNOW
         Now enter the assembler instructions --
         compiled using debug by naming the insert below SUB-ZERO.USR and
         on Jerusalem-B. It is the ansestor to the virus Captian Trips
         So as you can see an easy way to encrypt/decrypt sensitve data is with the
  • CSP . . . . 39 matches
          v=loads(netstring.readns(self.s)) #block
          netstring.writens(self.s,"ACK")
          netstring.writens(self.s,dumps(v))
          ack=netstring.readns(self.s) #block
          def __init__(self,instream):
          self.in_=instream
         class Cons(Process):
          def __init__(self,n,instream,outstream):
          self.in_=instream
          def __init__(self,instream,ostream1,ostream2):
          self.in_=instream
          def __init__(self,instream):
          self.in_=instream
          c1=Cons(1,plusc1,c1d1)
          c2=Cons(1,d1c2,c2d2)
         def readns(sock):
         def writens(sock, s):
         def freadns(f):
         def fwritens(f, s):
         class Cons(Process):
  • OurMajorLangIsCAndCPlusPlus/stdio.h . . . . 39 matches
         || FILE * fdopen(int, const char *) || 파일 지정자 필드로 부터 스트림을 얻습니다. ||
         || FILE * fopen(const char *, const char *) || 파일을 연다. ||
         || int fprintf(FILE *, const char *, ...) || 해당 스트림에 문자열을 기록한다. ||
         || int fputs(const char *, FILE *) || 해당 스트림에 문자열을 기록한다. ||
         || FILE * freopen(const char *, const char *, FILE *) || 세번째 인자의 스트림을 닫고 그 포인터를 첫번째 인자의 파일으로 대체한다. ||
         || int fscanf(FILE *, const char *, ...) || 해당 파일에서 문자열을 지정한 형식으로 읽어들인다. ||
         || int fsetpos(FILE *, const fpos_t *) || 해당 스트림의 포인터를 지정한 위치로 옮긴다. ||
         || size_t fwrite(const void *, size_t, size_t, FILE *) || 해당 내용을 두번째 인자의 크기만큼, 세번째 인자의 횟수로 스트림에 기록한다. ||
         || void perror(const char *) || 마지막 에러에 대한 오류메시지를 출력한다. ||
         || int printf(const char *, ...) || 해당 형식의 문자열을 출력한다. ||
         || int puts(const char *) || 표준 입출력으로 한줄을 출력한다. ||
         || int remove(const char *) || 해당 파일을 삭제한다. 성공시 0, 실패시 -1을 리턴한다. ||
         || int rename(const char *, const char *) || 첫번째 인자의 파일을 두번째 인자의 이름으로 바꾸어준다. ||
         || int scanf(const char *, ...) || 표준 입출력에서 해당 형식으로 입력 받는다. ||
         || int sprintf(char *, const char *, ...) || 해당 버퍼에 지정한 형식대로 출력한다. ||
         || int sscanf(const char *, const char *, ...) || 해당 문자열에서 지정된 형식대로 입력받는다. ||
         || int vfprintf(FILE *, const char *, va_list) || 해당 스트림에 인수리스트를 이용해서 지정된 형식의 문자열을 삽입한다. ||
         || int vprintf(const char *, va_list) || 표준 입출력에 인수리스트를 이용해서 지정된 형식의 문자열을 출력한다. ||
         || int vsprintf(char *, const char *, va_list) || 해당 문자열에 인수리스트를 이용해서 지정된 형식의 문자열을 기록한다. ||
         || int fputws(const wchar_t *, FILE *) || 해당 스트림으로 유티코드 문자열을 기록한다. ||
  • FactorialFactors/조현태 . . . . 38 matches
         unsigned int factorial_factors(unsigned int);
         unsigned int factorial_factors(unsigned int answer)
          unsigned int *log_answer = (unsigned int*)malloc((answer+2)*sizeof(unsigned int));
          unsigned int sum = 1;
          unsigned int gab;
          unsigned int suchEnd = (unsigned int)sqrt((double)answer);
          log_answer[2]=1;
          log_answer[3]=0;
          for (register unsigned int i=4; i<=answer;i+=2)
          log_answer[i]=2;
          log_answer[i+1]=0;
          for (register unsigned int i=3; i<=suchEnd; ++i)
          if (0==log_answer[i])
          log_answer[i]=1;
          for(register unsigned int j = i * i; j <= answer; j+= gab)
          log_answer[j] = i;
          sum+=log_answer[i]=log_answer[i/log_answer[i]]+1;
          for (register unsigned int i = suchEnd + 1; i <= answer; ++i)
          if (0==log_answer[i])
          log_answer[i]=1;
  • SuperMarket/인수 . . . . 38 matches
          sm.answerCost(good);
          Goods(const string& name, int cost) : _name(name), _cost(cost) {}
          const string& getName() const
          int getCost() const
          Packages(const Goods& good, int count) : _good(good), _count(count) {}
          const Goods& getGoods() const
          int getCount() const
          void showMenu() const
          void sellGoods(const Goods& goods, int count)
          int getRestMoney() const
          const vector<Goods>& getGoods() const
          void answerCost(const string& goodsName) const
          const Goods& findGoods(const string& goodsName) const
          void depositMoney(SuperMarket& sm, int money) const
          void buyGoods(SuperMarket& sm, const Goods& goods, int count)
          void cancleGoods(SuperMarket& sm, const Goods& goods, int count)
          virtual void executeCommand(SuperMarket& sm, User& user, const string& str) = 0;
          static int getToken(const string& str, int nth)
          void executeCommand(SuperMarket& sm, User& user, const string& str)
          void executeCommand(SuperMarket& sm, User& user, const string& str)
  • 영호의해킹공부페이지 . . . . 37 matches
         manner of exploiting daemons - The Buffer Overflow.
         coded daemons - by overflowing the stack one can cause the software to execute
         A buffer is a block of computer memory that holds many instances of the same
         is static. PUSH and POP operations manipulate the size of the stack
         addresses, or up them. This means that one could address variables in the
         A buffer overflow is what happens when more data is forced into the stack than
         means that we can change the flow of the program. By filling the buffer up
         This is just a simplified version of what actually happens during a buffer
         I really didn't feel like reading, so I figured it out myself instead. It took
         me +-20 mins to do the whole thing, but at least I was keeping a log of me
         save, of course, for the explanations. Next time I'll get human and actually
         Every single file available on buffer overflow mentions that strcpy(),
         is also a problem. So yeh, the demonstration overflow code we featured in FK8
         to be more widely known that the favoured use of it is insecure. Ditto for
         improper use of an ifstream. If you insist on using iostream.h (cin and
         ifstream) then use get() and getline() instead of the '>>' system.
         array which makes no sense. What I *meant* to say (but which got lost due to
          [ In function 09 of Int 21, as with most functions of int 21, the string is
         [ Some more additions from Wyzewun: And there you have it. If you're
          but I'm sure there are newer versions lying around. Well, I hope. Otherwise
  • AcceleratedC++/Chapter12 . . . . 35 matches
          Str(const char* cp) {
          std::copy(cp, cp+std::strlen(cp), std::back_inserter(data));
          std::copy(b, e, std::back_inserter(data));
         == 12.2 Automatic conversions ==
         클래스는 기본적으로 복사 생성자, 대입 연산자의 기본형을 제공한다. 위의 클래스는 이런 연산에 대한 기본적인 요건을 만족하기 때문에 const char* 가 const Str& 로 변환되어서 정상적으로 동작한다.
         상기의 클래스에는 Str(const char*) 타입의 생성자가 존재하기 때문에 이 생성자가 Str 임시 객체를 생성해서 마치 '''사용자 정의 변환(user-define conversion)'''처럼 동작한다.
         == 12.3 Str operations ==
          const char& operator[](size_type i) const { return data[i]; }
         이 구현의 세부적인 작동방식은 모두 Vec 클래스로 위임하였다. 대신에 const 클래스와 const 가 아닌 클래스에 대한 버전을 제공하였고, 표준 string 함수와의 일관성 유지를 위해서 string 대신에 char& 형을 리턴하도록 하였음.
         std::ostream& operator<<(std::ostream&, const Str&);
         ostream& operator<<(ostream& os, const Str& s) {
          size_type size() const { return data.size(); }
          Str operator+(const Str&, const Str&);
          Str& operator+=(const Str& s) {
          std::back_inserter(data));
          Str(const char* cp) {
          std::copy(cp, cp + std::strlen(cp), std::back_inserter(data));
          std::copy(i, j, std::back_inserter(data));
          const char& operator[](size_type i) const { return data[i]; }
          size_type size() const { return data.size(); }
  • DirectDraw/Example . . . . 35 matches
         HINSTANCE hInst; // current instance
         // Foward declarations of functions included in this code module:
         ATOM MyRegisterClass(HINSTANCE hInstance);
         BOOL InitInstance(HINSTANCE, int);
         int APIENTRY WinMain(HINSTANCE hInstance,
          HINSTANCE hPrevInstance,
          LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
          LoadString(hInstance, IDC_SIMPLEDX, szWindowClass, MAX_LOADSTRING);
          MyRegisterClass(hInstance);
          if (!InitInstance (hInstance, nCmdShow))
          hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_SIMPLEDX);
          if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
          TranslateMessage(&msg);
         // so that the application will get 'well formed' small icons associated
         ATOM MyRegisterClass(HINSTANCE hInstance)
          wcex.hInstance = hInstance;
          wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_SIMPLEDX);
          wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL);
         // FUNCTION: InitInstance(HANDLE, int)
         // PURPOSE: Saves instance handle and creates main window
  • OurMajorLangIsCAndCPlusPlus/stdlib.h . . . . 35 matches
         || typedef size_t || sizeof 키워드의 unsigned 정수형 결과 ||
          == 함수 (Functions) - String Functions ==
         || double atof(const char *str); || 문자열을 실수(double precision)로 변환 ||
         || int atoi(const char *str); || 문자열을 정수(integer)로 변환 ||
         || double strtod(const char *str, char **endptr); || 문자열을 실수(double precision)로 변환 ||
         || long int strtol(const char *str, char **endptr, int base); || 문자열을 정수(long integer)로 변환 ||
         || unsigned long int strtoul(const char *str, char **endptr, int base); || 문자열을 정수(unsigned long)로 변환 ||
          == 함수 (Functions) - Memory Functions ==
          == 함수 (Functions) - Environment Functions ==
         || char *getenv(const char *name); || 환경 변수를 얻는다 ||
         || int system(const char *string); || 전달인자로 받은 명령 실행 ||
         == 함수 (Functions) - Searching and Sorting Functions ==
         || void *bsearch(const void *key, const void *base, size_t nitems, size_t size, int (*compar)(const void *, const void *)); || 이진검색 수행 ||
         || void qsort(void *base, size_t nitems, size_t size, int (*compar)(const void *, const void*)); || 퀵 소트 수행 ||
         == 함수 (Functions) - Math Functions ==
         || void srand(unsigned int seed); || rand()에 의해 사용되는 난수 생성기에 인자 공급 ||
         == 함수 (Functions) - Multibyte Functions ==
         || int mblen(const char *str, size_t n); || 다중 바이트 문자의 길이 리턴 ||
         || size_t mbstowcs(schar_t *pwcs, const char *str, size_t n); || 다중 바이트 문자 스트링을 wide 문자 스트링으로 변환 ||
         || int mbtowc(whcar_t *pwc, const char *str, size_t n); || 다중 바이트 문자를 wide 문자로 변환 ||
  • Pairsumonious_Numbers/권영기 . . . . 35 matches
         int ans[N], n, flag = 0, checkans[M], temp[M], cnt = 0;
          memset(checkans, 0, sizeof(int) * M);
          checkans[cnt++] = ans[i] + ans[j];
          sort(checkans, checkans+cnt);
          if(checkans[i] != temp[i])return 0;
          tempsum = (ans[s-1] + ans[s-2] + *it1 + *it2)/2;
          ans[s] = tempsum - ans[s-1] - ans[s-2];
          if(ans[s-2] <= ans[s-1] && ans[s-1] <= ans[s]){
          tempit = find(it2, sum.end(), ans[s-1] + ans[s]);
          //back(s+1, find(it2, sum.end(), ans[s-1] + ans[s]));
          memset(ans, 0, sizeof(int) * N);
          ans[1] = tempsum - *iter;
          ans[2] = tempsum - temp[1];
          ans[3] = tempsum - temp[0];
          if(ans[1] <= ans[2] && ans[2] <= ans[3]){
          tempit = find(sum.begin(), sum.end(), ans[2]+ans[3]);
          //back(4, find(sum.begin(), sum.end(), ans[2] + ans[3]));
          printf("%d", ans[i]);
  • WikiTextFormattingTestPage . . . . 35 matches
         This page contains sample marked up text to make a quick visual determination as to which Wiki:TextFormattingRules work for a given wiki. To use the page, copy the text from the edit window, and paste it in the wiki under test. Then read it.
         I've broken the phrase across a line''' boundary by inserting a <return>.
         If I don't break the phrase by inserting a <return>, '''the bold portion can start and end on different lines,''' as this does.
         I've broken the phrase across a line''' boundary by inserting a <return>. If I don't break the phrase by inserting a <return>, '''the bold portion can start and end on different lines,''' as this does.
         I don't know if Wiki:WardCunningham considers this the desired behavior.
         Indented Paragraphs (For quotations)
          :: Here I tried some experimentation to see if I could indent a paragraph 8 spaces instead of 4 -- not successful but there might be a way. Fourscore and seven years ago, our forefathers brought forth upon this continent a new nation, conceived in liberty, ... and I wish I could remember the rest. Formatted by preceding this paragraph with <tab><tab><space>::<tab><tab>.
         I inserted 8 blank lines after this, to see if whitespace is "contracted".
         Here is a test of headings enclosed in equal signs (=), one for the top level, one more for each lower level. Whitespace is '''not''' allowed outside of the equals signs, while whitespace is ''required'' on the inside (separating the header text and the equals signs).
         ----:: Major Heading -- four dashes, two colons, and a space
         Swiki uses equal signs as prefixes, no space before the heading text -- actually this is not working in Swiki -- tried with and without spaces, now without
         =====Fifth level (five equal signs)
         ======Sixth level (six equal signs)
         Remote references are created by inserting a number in square brackets, they are not automatically numbered. To make these links work, you must go to Wiki:EditLinks and fill in URLs.
         ISBN Links (to a bookseller) -- several variations
         ISBN: 0-13-748310-4 -- ISBN followed by optional colon, followed by 10 digits with optional hyphens
         [ISBN 0-13-748310-4] -- ISBN, no colon, followed by 10 digits with optional hyphens, entire string surrounded by square brackets
         [ISBN: 0-13-748310-X] -- ISBN, with colon, entire string surrounded by square brackets, followed by 10 digits with optional hyphens, last digit an X ''"X" is the "digit" ten (the roman numeral, actually), which is a possible value for the checksum (last) digit.''
         I think there is (or will be) another way to mark up headings -- this might require that the TocPlugin be installed. (The following does not work, either because it hasn't been implemented (yet), the TocPlugin is not installed, or because I haven't stumbled across exactly the right syntax.)
         Note: I've noticed some inconsistency with Swiki in handling this page, maybe because of the size? Earlier, headings did not work properly, but bulleted lists did. (The numbered and nested lists were added later.) Now headings are working but lists are not. (And I won't be surprised if, when I save this page either everything works, or something different breaks -- no headings still work, lists do not, but I wonder about the next save?)
  • AcceleratedC++/Chapter13 . . . . 34 matches
          std::string name() const;
          double grade() const;
          double grade() const;
          std::string name() const;
          double grade() const;
         string Core::name() const { return n; }
         double Core::grade() const {
         double Grad::grade() const {
         == 13.2 Polymorphism and virtual functions ==
         bool compare(const Core& c1, const Core& c2) {
         bool compare_grade(const Core& c1, const Core& c2) {
          virtual double grade() const; // virtual 이 추가됨.
          std::string name() const;
          virtual double grade() const;
          double grade() const;
         bool compare(const Core&, const Core&);
         bool compare_Core_ptrs(const Core* cp1, const Core* cp2) {
          // `students[i]' is a pointer that we dereference to call the functions
          // constructors and copy control
          Student_info(const Student_info&);
  • 서지혜/단어장 . . . . 34 matches
          * [http://no-smok.net/nsmk/%EA%B9%80%EC%B0%BD%EC%A4%80%EC%9D%98%EC%9D%BC%EB%B0%98%EB%8B%A8%EC%96%B4%EA%B3%B5%EB%B6%80%EB%A1%A0 김창준의일반단어공부론] : 김창준 선배님의 영어공부 수련 체험수기
          명령적인 : 1. imperative programming. 2. We use the Imperative for direct orders and suggestions and also for a variety of other purposes
          당황하게 하다 : The thing that baffles me is that the conversations do not center around the adults but almost exclusively about their respective kids
          1. What you need to do, instead, is to abbreviate.
          관리하다 : The pension funds are administered by commercial banks.
          인용 : The forms of citations generally subscribe to one of the generally excepted citations systems, such as Oxford, Harvard, and other citations systems, as their syntactic conventions are widely known and easily interrupted by readers.
          The study of history of words, their origins, and how their form and meaning have changed over time.
         '''intrinsic'''
          본래 갖추어진 (<-> extrinsic)
          Density is physical intrinsic property of any physical object, whereas weight is an extrinsic property that varies depending on the strength of the gravitational field in which the respective object is placed.
          practices that discriminate against women and in favour of men.
         '''density'''
          밀도 : Moore's law has effectively predicted the density of transistors in silicon chips.
         '''constrain'''
          진단의 : Medical diagnosticians see a patient once or twice, make an assessment in an effort to solve a particularly difficult case, and then move on.
         '''extensive'''
          방대한 : He spends a lot of his own time checking up on his patients, taking extensive notes on what he's thinking at the time of diagnosis, and checking back to see how accurate he is.
          우월, 우세, 지배 : The relationship between the subject and the viewers is of dominance and subordination
          우성 : Dominance in genetics is a relationship between alleles of a gene, in which one allele masks the expression (phenotype) of another allele at the same locus. In the simplest case, where a gene exists in two allelic forms (designated A and B), three combinations of alleles (genotypes) are possible: AA, AB, and BB. If AA and BB individuals (homozygotes) show different forms of the trait (phenotype), and AB individuals (heterozygotes) show the same phenotype as AA individuals, then allele A is said to dominate or be dominance to allele B, and B is said to be recessive to A. - [dominance gene wiki]
          망각 : Eternal oblivion, or simply oblivion, is the philosophical concept that the individual self "experiences" a state of permanent non-existence("unconsciousness") after death. Belief in oblivion denies the belief that there is an afterlife (such as a heaven, purgatory or hell), or any state of existence or consciousness after death. The belief in "eternal oblivion" stems from the idea that the brain creates the mind; therefore, when the brain dies, the mind ceases to exist. Some reporters describe this state as "nothingness".
  • 피보나치/조현태 . . . . 34 matches
         int fibonacci1( int prv_answer,int sub_answer, int number )
          prv_answer=fibonacci1(sub_answer+prv_answer, prv_answer, number-1 );
          return prv_answer;
         void prin(unsigned int num, unsigned int prv_answer )
          cout << num <<"번째 값은 "<< prv_answer <<"입니다.\n";
         void fibonacci2( unsigned int prv_answer,unsigned int sub_answer, unsigned int number, int call)
          unsigned int num=1;
          unsigned int temp=sub_answer;
          sub_answer=prv_answer;
          prv_answer=temp+sub_answer;
          prin (num, prv_answer);
          prin (num, prv_answer);
          unsigned int number;
          prv_answer=1
          sub_answer=0
          temp=sub_answer
          sub_answer=prv_answer
          prv_answer=sub_answer+temp
          print prv_answer
  • AcceleratedC++/Chapter7 . . . . 33 matches
         기존에 이용한 vector, list는 모두 push_back, insert를 이용해서 요소를 넣어주었을 때,
          for (std::map<string, int>::const_iterator it = counters.begin();
          || pair || const K || V ||
          * Visual C++ 6.0 에서 소스를 컴파일 할때 책에 나온대로 (using namespace std를 사용하지 않고 위와 같이 사용하는 것들의 이름공간만 지정할 경우) map<string, int>::const_iterator 이렇게 치면 using std::map; 이렇게 미리 이름공간을 선언 했음에도 불구하고 에러가 뜬다. 6.0에서 제대로 인식을 못하는것 같다. 위와 같이 std::map<string, int>::const_iterator 이런식으로 이름 공간을 명시하거나 using namespace std; 라고 선언 하던지 해야 한다.
         map<string, vector<int> > xref(istream& in, vector<string> find_words(const string&) = split)
          for (vector<string>::const_iterator it = words.begin();
          for (map<string, vector<int> >::const_iterator it = ret.begin();
          vector<int>::const_iterator line_it = it->second.begin(); // it->second == vector<int> 동일 표현
          * '''map<string, vector<int> > xref(istream& in, vector<string> find_words(const string&) = split)'''
          || map<string, vector<int> >::const_iterator || K || V ||
         vector<string> gen_sentence(const Grammar& g) {
         bool bracketed(const string& s) {
         void gen_aux(const Grammar& g, const string& word, vector<string>& ret) {
          Grammar::const_iterator it = g.find(word); // g[word]로 참조를 할경우 map 컨테이너의 특성상 새로운 map이 생성된다.
          const Rule_collection& c = it->second;
          const Rule& r = c[nrand(c.size())];
          for(Rule::const_iterator i = r.begin(); i != r.end(); ++i)
          vector<string>::const_iterator it = sentence.begin();
          const int bucket_size = RAND_MAX / n;
         void gen_aux(const Grammar&, const string&, vector<string>&);
  • DesignPatternsAsAPathToConceptualIntegrity . . . . 33 matches
         원문 : http://www.utdallas.edu/~chung/patterns/conceptual_integrity.doc
         Design Patterns as a Path to Conceptual Integrity
         During our discussions about the organization of design patterns there was a comment about the difficulty of identifying the “generative nature” of design patterns. This may be a good property to identify, for if we understood how design patterns are used in the design process, then their organization may not be far behind. Alexander makes a point that the generative nature of design patterns is one of the key benefits. In practice, on the software side, the generative nature seems to have fallen away and the more common approach for using design patterns is characterized as “when faced with problem xyz…the solution is…” One might say in software a more opportunistic application of design patterns is prevalent over a generative use of design patterns.
         The source of this difference may be the lack of focus on design patterns in the design process. In fact, we seldom see discussions of the design process associated with design patterns. It is as though design patterns are a tool that is used independent of the process. Let’s investigate this further:
         This is what Brooks wrote 25 years ago. "… Conceptual integrity is the most important consideration in system design."[Brooks 86] He continues: “The dilemma is a cruel one. For efficiency and conceptual integrity, one prefers a few good minds doing design and construction. Yet for large systems one wants a way to bring considerable manpower to bear, so that the product can make a timely appearance. How can these two needs be reconciled?”
         The following summary is from “Design Patterns as a Litmus Paper to Test the Strength of Object-Oriented Methods” and may provide some insight:
         c. Wirfs-Brock with Responsibility Driven Design (RDD) raises contract minimization as the system modularization principle.
         ResponsibilityDrivenDesign 의 Wirfs-Brock는 system modularization 에 대해 계약 최소화를 들었다.
         4. Design patterns provide guidance in designing micro-architectures according to a primary modularization principle: “encapsulate the part that changes.”
         5. EDD and RDD will generate different design patterns that meet the primary modularization principle “encapsulate the part that changes.” in different ways when applied according to their axiomatic rules. For example RDD generates Mediator, Command, Template Method and Chain of responsibility (mostly behavior) where as EDD generates Observer, Composite, and Chain of responsibility (mostly structure).
         EDO 와 RDD 는 이 1차 원리인 "변화하는 부분에 대해 캡슐화하라"와 그들의 명확한 룰들에 따라 적용될때 다른 방법들로 만나서, 다른 디자인 패턴들을 생성해 낼 것이다. 예를 들면, RDD는 Mediator, Command, TemplateMethod, ChainOfResponsibility (주로 behavior), EDD 는 Observer, Composite, ChainOfResposibility(주로 structure) 를 생성해낼것이다.
         Now putting this together with the earlier discussion about conceptual integrity we can propose some questions for discussion:
         · Are some O-O design methods better at creating an environment where design patterns are used in a generative sense?
         · Does this give insight into the organization of design patterns?
         The dilemma is a cruel one. For efficiency and conceptual integrity, one prefers a few good minds doing design and construction. Yet for large systems one wants a way to bring considerable manpower to bear, so that the product can make a timely appearance. How can these two needs be reconciled?
  • 몸짱프로젝트/BinarySearchTree . . . . 33 matches
          def insert(self, aRoot, aKey):
          def testInsert(self):
          bst.insert(bst.root, 1)
          self.assertEquals(bst.insert(bst.root, 1), False)
          bst.insert(bst.root, 5)
         ## bst.insert(bst.root, 10)
         ## bst.insert(bst.root, 5)
         ## bst.insert(bst.root, 25)
         ## bst.insert(bst.root, 22)
          bst.insert(bst.root, 10)
          bst.insert(bst.root, 5)
          bst.insert(bst.root, 25)
          bst.insert(bst.root, 10)
          bst.insert(bst.root, 22)
          bst.insert(bst.root, 21)
          bst.insert(bst.root, 25)
          bst.insert(bst.root, 10)
          bst.insert(bst.root, 5)
          bst.insert(bst.root, 25)
          bst.insert(bst.root, 22)
  • D3D . . . . 32 matches
         추천 도서: Inside DirectX (필요로 한다면 말하시오. 전자책으로 있어요. --;;)
          point3 operator +(point3 const &a, point3 const &b);
          point3 operator -(point3 const &a, point3 const &b);
          point3 operator *(point3 const &a, float const &b);
          point3 operator *(float const &a, point3 const &b);
          point3 operator /(point3 const &a, float const &b);
         inline float point3::Mag () const
         inline float point3::MagSquared () const
         inline bool operator ==(point3 const &a, point3 const &b)
         inline float operator *(point3 const &a, point3 const &b)
         inline point3 operator ^(point3 const &a, point3 const &b)
          polygon( const polygon &in )
          void CloneData( const polygon &in )
          polygon& operator=( const polygon<type> &in )
          plane3( const point3& N, float D) : n( N ), d( D )
          // Construct a plane from three 3-D points
          plane3( const point3& a, const point3& b, const point3& c);
          // Construct a plane from a normal direction and a point on the plane
          plane3( const point3& norm, const point3& loc);
          // Construct a plane from a polygon
  • EightQueenProblem/이선우2 . . . . 32 matches
          private int numberOfAnswers;
          private int hasAnswer;
          numberOfAnswers = -1;
          hasAnswer = -1;
          public int countAnswers()
          return countAnswers( null );
          public int countAnswers( final PrintStream out )
          if( out != null || numberOfAnswers == -1 ) {
          setQueens();
          return numberOfAnswers;
          public boolean hasAnswers()
          if( hasAnswer == -1 ) {
          setQueens();
          numberOfAnswers = -1;
          if( hasAnswer == 1 ) return true;
          private void setQueens()
          numberOfAnswers = 0;
          if( isValidQueens() ) {
          hasAnswer = 1;
          numberOfAnswers ++;
  • Gof/Adapter . . . . 32 matches
         == Collaborations ==
         == Consequences ==
          virtual void BoundingBox(Point& bottomLeft, Point& topRight) const;
          virtual Manipulator* CreateManipulator () const;
          void GetOrigin (Coord& x, Coord& y) const;
          void GetExtent (Coord& width, Coord& height) const;
          virtual bool IsEmpty () const;
         Shape assumes a bounding box defined by its opposing corners. In contrast, TextView is defined by an origin, height, and width. Shape also defines a CreateManipulator operation for creating a Manipulator object, which knowns how to animate a shape when the user manipulates it. TextView has no equivalent operation. The class TextShape is an adapter between these different interfaces.
          virtual void BoundingBox (Point& bottomLeft, Point& topRight) const;
          virtual bool IsEmpty () const;
          virtual Manipulator* CreateManipulator () const;
         void TextShape::boundingBox (Point& bottomLeft, Point& topRight) const {
         The IsEmpty operations demonstrates the direct forwarding of requests common in adapter implementations:
         bool TextShape::ImEmpty () const {
         Manipulator* TextShape::CreateManipulator () const {
         The object adapter uses object composition to combine classes with different interfaces. In this approach, the adapter TextShape maintains a pointer to TextView.
          virtual void BoundingBox (Point& bottomLeft, Point& topRight) const;
          virtual bool IsEmpty () const;
          virtual Manipulator* CreateManipulator () const;
         TextShape must initialize the pointer to the TextView instance, and it does so in the constructor. It must also call operations on its TextView object whenever its own operations are called. In this example, assume that the client creates the TextView object and passes it to the TextShape constructor.
  • Marbles/조현태 . . . . 32 matches
         int Get_answer(int, int, int, int, int);
          int x_1, x_2, y_1, y_2, beads, answer_1=0, answer_2=0;
          while(0==(answer_1=Get_answer(answer_1,answer_2,x_2,y_2,beads)))
          ++answer_2;
          if (answer_1<0)
          printf("결과 : %d, %d",answer_1,answer_2);
         int Get_answer(int answer_1, int answer_2, int x_2, int y_2, int breeds)
          int temp=answer_2*y_2*(-1)+breeds;
         int Get_answer(int*, int*, int, int, int);
         const int FALSE=-1;
         const int TRUE=0;
          int x_1, x_2, y_1, y_2, beads, answer_1=0, answer_2=0;
          if (FALSE==Get_answer(&answer_1,&answer_2,x_2,y_2,beads))
          printf("결과 : %d, %d",answer_1,answer_2);
         int Get_answer(int* answer_1, int* answer_2, int x_2, int y_2, int breeds)
          *answer_2=(breeds%x_2)/(y_2%x_2);
          *answer_1=((*answer_2)*y_2*(-1)+breeds)/x_2;
          if (*answer_1<0)
  • VonNeumannAirport/Leonardong . . . . 32 matches
          def construct( self, origins, destinations ):
          for o in origins:
          for d in destinations:
          self.matrix[o-1][d-1] = abs( origins.index(o)
          - destinations.index(d) ) + 1
          def construct( self, origin, traffics ):
          self.distMatrix.construct( origins = range(1,MAX+1),
          destinations= range(1,MAX+1) )
          self.distMatrix.construct( origins = range(1,MAX+1),
          destinations= range(MAX,0,-1) )
          self.traffic.construct( origin = 1,
          self.traffic.construct( origin = 1,
          self.traffic.construct( origin = 2,
          self.distMatrix.construct( origins = [1,2],
          destinations = [1,2] )
          self.distMatrix.construct( origins = [1,2],
          destinations = [2,1] )
          self.traffic.construct( origin = 1,
          self.traffic.construct( origin = 2,
          self.traffic.construct( origin = 3,
  • Garbage collector for C and C++ . . . . 31 matches
         [http://www.hpl.hp.com/personal/Hans_Boehm/gc/ 홈페이지]
          * 유닉스나 리눅스에서는 "./configure --prefix=<dir>; make; make check; make install" 으로 인스톨 할수 있다.
         # objects should have been explicitly deallocated, and reports exceptions.
         # gc.h before performing thr_ or dl* or GC_ operations.)
         # of objects to be recognized. (See gc_priv.h for consequences.)
         # usually causing it to use less space in such situations.
         # an object can be recognized. This can be expensive. (The padding
         # is normally more than one byte due to alignment constraints.)
         # implementations, and it sometimes has a significant performance
         # impact. However, it is dangerous for many not-quite-ANSI C
         # This is on by default. Turning it off has not been extensively tested with
         # since this may avoid some expensive cache synchronization.
         # -DIGNORE_FREE turns calls to free into a noop. Only useful with
         # Reduces code size slightly at the expense of debuggability.
         # order by specifying a nonstandard finalization mark procedure (see
         # -DFINALIZE_ON_DEMAND causes finalizers to be run only in response
         # kind of object. For the incremental collector it makes sense to match
         # -DUSE_MMAP use MMAP instead of sbrk to get new memory.
         # Linux and Windows versions.
         # value of the near-bogus-pointer. Can be used to identifiy regions of
  • Gof/FactoryMethod . . . . 30 matches
         Virtual Constructor ( ["MoreEffectiveC++"] Item 25 참고 )
         == Collaborations : 협력 ==
         == Consequences : 결론 ==
         Here are two additional consequences of the Factory Method pattern:
         MyCreator::Create handles only YOURS, MINE, and THEIRS differently than the parent class. It isn't interested in other classes. Hence MyCreator extends the kinds of products created, and it defers responsibility for creating all but a few products to its parent.
          self subclassResponsibility
         You can avoid this by being careful to access products solely through accessor operations that create the product on demand. Instead of creating the concrete product in the constructor, the constructor merely initializes it to 0. The accessor returns the product. But first it checks to make sure the product exists, and if it doesn't, the accessor creates it. This technique is sometimes called lazy initialization. The following code shows a typical implementation:
          5. Naming conventions. It's good practice to use naming conventions that make it clear you're using factory methods. For example, the MacApp Macintosh application framework [App89] always declares the abstract operation that defines the factory method as Class* DoMakeClass(), where Class is the Product class.
         The function CreateMaze (page 84) builds and returns a maze. One problem with this function is that it hard-codes the classes of maze, rooms, doors, and walls. We'll introduce factory methods to let subclasses choose these components.
          virtual Maze* MakeMaze() const
          virtual Room* MakeRoom(int n) const
          virtual Wall* MakeWall() const
          virtual Door* MakeDoor(Room* r1, Room* r2) const
         Each factory method returns a maze component of a given type. MazeGame provides default implementations that return the simplest kinds of maze, rooms, walls, and doors.
         Different games can subclass MazeGame to specialize parts of the maze. MazeGame subclasses can redefine some or all of the factory methods to specify variations in products. For example, a BombedMazeGame can redefine the Room and Wall products to return the bombed varieties:
          virtual Wall* MakeWall() const
          virtual Room* MakeRoom(int n) const
          virtual Room* MakeRoom(int n) const
          virtual Door* MakeDoor(Room* r1, Room* r2) const
          Spell* CastSpell() const;
  • 신기호/중대생rpg(ver1.0) . . . . 30 matches
          unsigned int xp;
          unsigned int next_xp;
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
          unsigned long xp;
          unsigned long next_xp;
          void setInfo(char *_name,int _base_hp,int _hp,int _max_hp,unsigned int _xp,unsigned int _next_xp,int _base_att,int _base_def,int _townNum,int _level,int _money);
          unsigned long getxp();
          unsigned long getnext_xp();
          void addxp(unsigned int _xp);
         void entity::setInfo(char *_name,int _base_hp,int _hp,int _max_hp,unsigned int _xp,unsigned int _next_xp,int _base_att,int _base_def,int _townNum,int _level,int _money){
         unsigned long entity::getxp(){
         unsigned long entity::getnext_xp(){
         void entity::addxp(unsigned int _xp){
          unsigned int xp,nextxp;
  • 데블스캠프2006/목요일/winapi . . . . 29 matches
         int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
         int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
          wndclass.hInstance = hInstance ;
          hInstance, // program instance handle
          TranslateMessage (&msg) ;
         int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
          wndclass.hInstance = hInstance ;
          hInstance, // program instance handle
          TranslateMessage (&msg) ;
          static const int BUTTON_ID = 1000;
         int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
          wndclass.hInstance = hInstance ;
          CW_USEDEFAULT, CW_USEDEFAULT, 800, 600, NULL, NULL, hInstance, NULL) ;
          TranslateMessage (&msg) ;
         int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
          wndclass.hInstance = hInstance ;
          CW_USEDEFAULT, CW_USEDEFAULT, 800, 600, NULL, NULL, hInstance, NULL) ;
          TranslateMessage (&msg) ;
  • 현종이 . . . . 29 matches
          SungJuk(const char *name,int nNumber, int nKorean, int nEnglish, int nMath);
          const SungJuk & Top_Avg(const SungJuk &s) const;
          const SungJuk & Top_Total(const SungJuk & s) const;
          const SungJuk & Top_Korean(const SungJuk & s) const;
          const SungJuk & Top_English(const SungJuk & s) const;
          const SungJuk & Top_Math(const SungJuk & s) const;
         const SungJuk & SungJuk::Top_Avg(const SungJuk &s) const
         const SungJuk & SungJuk::Top_Korean(const SungJuk &s) const
         const SungJuk & SungJuk::Top_English(const SungJuk &s) const
         const SungJuk & SungJuk::Top_Math(const SungJuk &s) const
         const int caucse = 10;
  • ErdosNumbers/조현태 . . . . 28 matches
          int number_mans, number_books;
          human_data** mans;
          human_data** temp_mans=new human_data*[number_mans+1];
          for (register int i=0; i<number_mans; ++i)
          temp_mans[i]=mans[i];
          temp_mans[number_mans]=new human_data(input_name);
          if (NULL!=mans)
          delete mans;
          mans=temp_mans;
          ++number_mans;
          for (register int i=0; i<number_mans; ++i)
          if (0==str_cmp(target_name,mans[i]->get_name()))
          temp_human=mans[number_mans-1];
          temp_human=mans[temp_man_number];
          number_mans=0;
          mans=NULL;
          for (register int i=0; i<number_mans; ++i)
          delete mans[i];
          if (NULL!=mans)
          delete mans;
  • ACM_ICPC/PrepareAsiaRegionalContest . . . . 27 matches
          const int MAX = 1001;
          const int SQUARE_SIZE = 11;
          bool equals(const Coin & coin){ return this->face == coin.face; }
          void set(const char face ){ this->face = face; }
         const int MAX = 4;
         const int SIZE = 3;
         const int INT_MAX = 20000000;
          Coin coins[SIZE][SIZE];
          void constructCoins( const char input[SIZE][SIZE] );
         void Gamer::constructCoins( const char input[SIZE][SIZE] )
          coins[row][col].set(input[row][col]);
          coins[rowNum][col].flip();
          coins[row][colNum].flip();
          coins[2][0].flip();
          coins[1][1].flip();
          coins[0][2].flip();
          coins[0][0].flip();
          coins[1][1].flip();
          coins[2][2].flip();
          if ( !coins[row][col].equals( coins[0][0] ) )
  • BigBang . . . . 27 matches
          * void pointer 사용 자제합시다. void pointer가 가리키는 값의 타입을 추론할 수 없다. [http://stackoverflow.com/questions/1718412/find-out-type-of-c-void-pointer 참고]
          * const 멤버 함수의 효과
          * move constructor(?)
          * 삽입과 삭제시 transaction(작업 하다가 오류가 날 경우, 돌아갈 수 있는 기능)이 가능한 경우
          - 기본 생성자, 복사 생성자(copy constructor), 복사 대입 연산자(copy assignment operator).
         ==== Chapter 2. #define을 쓰려거든 const, enum, inline을 떠올리자. ====
          * #define을 사용하면 컴파일러가 잡아주지 못해서 에러를 발생시킬 가능성이 크다. 그러나 이 말이 #define을 사용하지 말라는 의미는 아니다! 케바케로서 #define이 const보다 맞는 경우도 존재한다.
          const int A
          const some A
         ==== Chapter 3. 낌새만 보이면 const를 들이대 보자. ====
          const char * p = greeting
          char * const p = greeting
          const에 의한 상수화를 판단하는 기준은
          const char * p = greeting
          char const * p = greeting
          const iterator a
          iterator const a
          //-> T * const
          const_iterator a
          //-> const T *
  • MySQL 설치메뉴얼 . . . . 27 matches
         A more detailed version of the preceding description for installing a
          different versions of Unix, or they may have different names such
          You might want to call the user and group something else instead
          the distribution under `/usr/local'. (The instructions, therefore,
          installation as `root'.)
          3. Obtain a distribution file using the instructions in *Note
          getting-mysql::. For a given release, binary distributions for all
          4. Unpack the distribution, which creates the installation directory.
          lets you refer more easily to the installation directory as
          5. Change location into the installation directory:
          directory. The most important for installation purposes are the
          * The `bin' directory contains client programs and the server.
          * The `scripts' directory contains the `mysql_install_db'
          grant tables that store the server access permissions.
          6. If you have not installed MySQL before, you must create the MySQL
          shell> scripts/mysql_install_db --user=mysql
          Assuming that you are located in the installation directory
          script if you install the `DBI' and `DBD::mysql' Perl modules. For
          instructions, see *Note perl-support::.
         After everything has been unpacked and installed, you should test your
  • PrettyPrintXslt . . . . 27 matches
          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
          xmlns:verb="http://informatik.hu-berlin.de/xmlverbatim"
          <xsl:variable name="ns-prefix"
          <xsl:if test="$ns-prefix != ''">
          <span class="xmlverb-element-nsprefix">
          <xsl:value-of select="$ns-prefix"/>
          <xsl:variable name="pns" select="../namespace::*"/>
          <xsl:if test="$pns[name()=''] and not(namespace::*[name()=''])">
          <span class="xmlverb-ns-name">
          <xsl:text> xmlns</xsl:text>
          <xsl:if test="not($pns[name()=name(current()) and
          <xsl:call-template name="xmlverb-ns" />
          <xsl:if test="$ns-prefix != ''">
          <span class="xmlverb-element-nsprefix">
          <xsl:value-of select="$ns-prefix"/>
          <xsl:template name="xmlverb-ns">
          <span class="xmlverb-ns-name">
          <xsl:text> xmlns</xsl:text>
          <span class="xmlverb-ns-uri">
          <!-- processing instructions -->
  • RSSAndAtomCompared . . . . 27 matches
         Toru Marumoto has produced [http://www.witha.jp/Atom/RSS-and-Atom.html a Japanese translation].
         2005/07/21: RSS 2.0 is widely deployed and Atom 1.0 only by a few early adopters, see KnownAtomFeeds and KnownAtomConsumers.
         === Specifications ===
         IETF standards track RFC) represents the consensus of the
         [http://www.ietf.org/iesg.html Internet Engineering Steering Group]. The specification is structured in such a way that the IETF could conceivably issue further versions or revisions of this specification without breaking existing deployments, although there is no commitment, nor currently expressed interest, in doing so.
         See the Extensibility section below for how each can be extended without changing the specifications themselves.
         Atom has separate “summary” and “content” elements. The summary is encouraged for accessibility reasons if the content is non-textual (e.g. audio) or non-local (i.e. identified by pointer).
         Atom 1.0 allows standalone Atom Entry documents; these could be transferred
         === Extensibility ===
         RSS 2.0 is not in an XML namespace but may contain elements from other XML namespaces. There is no central place where one can find out about many popular extensions, such as dc:creator and content:encoded.
         Atom 1.0 is in [http://www.w3.org/2005/Atom an XML namespace] and may contain elements or attributes from other XML namespaces. There are specific guidelines on how to interpret extension elements. Additionally, there will be an IANA managed directory rel= values for <link>. Finally, Atom 1.0 provides recommended extension points and guidance on how to interpret simple extensions.
         RSS 2.0 provides the ability to specify email addresses for a feed’s “managingEditor” and “webMaster”, and for an item’s “author”. Some publishers prefer not to share email addresses, and use “dc:creator” from the dublin core extension instead.
         Atom 1.0 includes a (non-normative) ISO-Standard [http://relaxng.org/ RelaxNG] schema, to support those who want to check the validity of data advertised as Atom 1.0. Other schema formats can be [http://www.thaiopensource.com/relaxng/trang.html generated] from the RelaxNG schema.
          <description>Insert witty or insightful remark here</description>
         <feed xmlns="http://www.w3.org/2005/Atom">
          <subtitle>Insert witty or insightful remark here</subtitle>
         ||link||link||Atom defines an extensible family of "rel" values||
  • SmithNumbers/조현태 . . . . 27 matches
         unsigned int Sum_jari(unsigned int);
         unsigned int Creat_base_and_process(unsigned int number);
         unsigned int Get_right(unsigned int, unsigned int*);
         const int MAX_NUMBER=10000000;
          unsigned int minimum_number;
         unsigned int Get_right(unsigned int number, unsigned int* log_number)
          unsigned int sum=0;
         unsigned int Sum_jari(unsigned int number)
          unsigned int sum=0;
         unsigned int Creat_base_and_process(unsigned int number)
          unsigned int *log_number=(unsigned int*)malloc((MAX_NUMBER+2)*sizeof(unsigned int));
          unsigned int gab;
          unsigned int sum=0;
          for (register unsigned int i=4; i<=MAX_NUMBER;i+=2)
          for (register unsigned int i=3; i<=MAX_NUMBER; ++i)
          for(register unsigned int j=i+gab; j<=MAX_NUMBER; j+=gab)
          unsigned int left=Sum_jari(number),right=Get_right(number,log_number);
  • 데블스캠프2013/셋째날/머신러닝 . . . . 27 matches
         using System.Collections.Generic;
          const int SIZEBIG = 8165;
          const int SIZESMALL = 20;
          //Console.WriteLine("{0} : {1}", diff, min);
          Console.WriteLine("{0} : {1}", i, testNews[i].category);
          Console.WriteLine(testNews[i].category);
          Console.WriteLine("END");
          Console.ReadKey();
         std::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems) {
         std::vector<std::string> split(const std::string &s, char delim) {
          trainDataList.insert(trainDataList.end(), line);
          trainClassList.insert(trainClassList.end(), line);
          testDataList.insert(testDataList.end(), line);
          testClass.insert(testClass.end(), trainClassList[similiarIndex]);
          const int Label_Num=20;
          const int Word_Num=8165;
          const int News_Num=11293;
         void readFile(int ** target, const char * filename, int row, int col);
         void readFile(int ** target, const char * filename, int row, int col){
          while (oct.hasMoreTokens()) {
  • 1002/Journal . . . . 25 matches
          * Instead of being tentative, begin learning concretely as quickly as possible.
          * Instead of clamming up, communicate more clearly.
          * Instead of avoding feedback, search out helpful, concrete feedback.
         그리고, 이전에 ProjectPrometheus 작업할때엔 서블릿 테스팅 방법을 몰랐다. 그래서 지금 ProjectPrometheus 코드를 보면 서블릿 부분에 대해 테스트가 없다. WEB Tier 에 대한 테스팅을 전적으로 AT 에 의존한다. 이번에 기사를 쓸때 마틴 파울러의 글을 인용, "WIMP Application 에 대해서 WIMP 코드를 한줄도 복사하지 않고 Console Application 을 만들수 있어야 한다" 라고 이야기했지만, 이는 WEB 에서도 다를 바가 없다고 생각한다.
         사실 {{{~cpp LoD}}} 관점에서 보면 자기가 만든 객체에는 메세지를 보내도 된다. 하지만 세밀한 테스트를 하려면 좀더 엄격한 룰을 적용해야할 필요를 느끼기도 한다. 니가 말하는 걸 Inversion of Control이라고 한다. 그런데 그렇게 Constructor에 parameter로 계속 전달해 주기를 하다보면 parameter list가 길어지기도 하고, 각 parameter간에 cohesion과 consistency가 떨어지기도 한다. 별 상관없어 보이는 리스트가 되는 것이지.
         4 (월): 영어 공부, XP Installed 한서 읽기
         XP Installed 를 한서로 다시 정독을 했다. 영어로 읽었을때 써먹으려는 부분에 대한 대강의 내용 파악위주로 읽어서 그런지, 이젠 추정 부분 같은 것도 눈에 들어오는. 이런.
         http://www.utdallas.edu/~chung/patterns/conceptual_integrity.doc - Design Patterns as a Path to Conceptual Integrity 라는 글과 그 글과 관련, Design Patterns As Litmus Paper To Test The Strength Of Object Oriented Methods 라는 글을 보게 되었는데, http://www.econ.kuleuven.ac.be/tew/academic/infosys/Members/Snoeck/litmus2.ps 이다. 디자인패턴의 생성성과 관련, RDD 와 EDD 가 언급이 되는 듯 하다.
         Uninstall & Install
         아직은 필요한 시스템만 Install 하는 목표에 충실하도록 노력하자. ["Refactoring"]. NoSmok:필요한만큼만 .
          * DesignPatterns 연습차 간단하게 그림판을 구현해봄. 처음 간단하게 전부 MainFrame class 에 다 구현하고, 그 다음 Delegation 으로 점차 다른 클래스들에게 역할을 이양해주는 방법을 써 보았다. 그러던 중 MFC에서의 WinApp 처럼 Application class 를 ["SingletonPattern"] 스타일로 밖으로 뺐었는데, 계속 Stack Overflow 에러가 나는 것이였다. '어라? 어딘가 계속 재귀호출이 되나?..'
          public static Application getInstance () {
          Enumeration toolList = Application.getInstance().getToolsList();
         즉, Application Class 의 인스턴스가 만들어지기 위해선 MainFrame 클래스가 완성되어야 한다. 그런데, MainFrame 에서는 Application 의 인스턴스를 요구한다. 그렇기 때문에 Application의 getInstance를 호출하고, 아직 인스턴스가 만들어지지 않았으므로 또 getInstance 에선 Application 의 Class 를 새로 또 만들려고 하고 다시 MainFrame 클래스를 생성하려 하고.. 이를 반복하게 되는 것이였다.
          public static Application getInstance () {
          * ["SingletonPattern"] - Application Instance를 Global 객체로. 근데, 이는 일장일단인것 같다. 잘못하면 Application 중앙집중체제가 된다. Application 내에서 Delegation하는 객체들이 많은데, 그 덕에 Application 이 너무 중간 메세지 전달역할로만 작용하는것 같다. 뭐, ["FacadePattern"] 인양 된다면 모르겠지만. 이건 코드 커지고 난 뒤 두고볼 일인것 같다.
          * SWEBOK Software Construction 부분 한번정리. Software Design Part는 그래도 마음에 들었었는데, Construction 은 분류 부분이 맘에 안들어하는중. SWEBOK 이 있는 이유가 해당 Knowledge Area 에 대해서 일종의 이해의 틀을 제공하는 것인데, 이번 챕터는 그 역할을 제대로 하지 못했다는 생각이 든다. 다른 책을 찾아보던지 일단 건너뛰던지 해야겠다. 그래도 일단 내일을 위해 한번더;
          * SWEBOK Construction 부분 한번 더 봄. 하지만 여전히 마음에 안들어하는중; (상민쓰 말처럼 '영어로 된 동화책 읽고 세익스피어 영문판 읽어야' 이해하는 내용이여서 그런가;) Code Construction 은 아무래도 Design 영역이나 Test 영역에 비해서 art (예술 또는 기술) 적인 측면이 커서 그러려나. 이건 다른 레퍼런스를 보는 것이 나을 것 같다. 한계를 생각하자.
  • AcceleratedC++/Chapter10 . . . . 25 matches
         void write_analysis(std::ostream& out, const std::string& name,
          double analysis(const std::vector<Student_info>&),
          const std::vector<Student_info>& did,
          const std::vector<Student_info>& didnt);
          {{{~cpp double analysis(const std::vector<Student_info>&)
          {{{~cpp double (*analysis)(const std::vector<Student_info>&)
         typedef double (*analysis_fp)(const vector<Student_info>&);
         double (*get_analysis_ptr()) (const vector<Student_info>&);
          상기의 코드에서 프로그래머가 원한 기능은 get_analysis_ptr()을 호출하면 그 결과를 역참조하여서 const vector<Student_info>&를 인자로 갖고 double 형을 리턴하는 함수를 얻는 것입니다.
          배열은 클래스 타입이 아니기 때문에 배열의 크기를 나타내는 size_type과 같은 요소는 없습니다. 대신에 C Standard Definition 이하 '''<cstddef>''' 에 '''size_t'''로 지정된 unsigned 타입으로 배열의 크기를 사용해야합니다.
         const size_t NDim = 3;
         const size_t PTriangle = 3;
          상기와 같은 표현은 const로 지정된 변수로 변수를 초기화하기 때문에 컴파일시에 그 크기를 알 수 있다. 또한 상기와 같은 방식으로 코딩을 하면 coord에 의미를 부여할 수 잇기 때문에 장점이 존재한다.
         copy(coords, coords + NDim, back_inserter(v));
         const int month_length[] = {
          "hello"와 같은 문자열 리터럴은 사실은 '''const char'''형의 배열이다. 이 배열은 실제로 사용하는 문자의 갯수보다 한개가 더 많은 요소를 포함하는데, 이는 문자열 리터럴의 끝을 나타내는 '\0' 즉 널 캐릭터를 넣어야하기 때문이다.
          const char hello[] = { 'h', 'e', 'l', 'l', 'o', '\0' }; //이 표현은 const char hello[] = "hello";와 동일한 표현이다.
         size_t strlen(const char* p) { // 쉬우니 기타 설명은 생략
          static const double numbers[] = {
          static const char* const letters[] = {
  • Bridge/권영기 . . . . 25 matches
         queue < pair< int, int> > ans2;
          int t, n, tempn, p, ans = 0;
          ans = 0;
          ans += man[p] + man[0] + man[p-1] + man[0];
          ans2.push(make_pair(man[0], man[p]));
          ans2.push(make_pair(man[0], -1));
          ans2.push(make_pair(man[0], man[p-1]));
          ans2.push(make_pair(man[0], -1));
          ans += man[0] + man[1] + man[p] + man[1];
          ans2.push(make_pair(man[0], man[1]));
          ans2.push(make_pair(man[0], -1));
          ans2.push(make_pair(man[p-1], man[p]));
          ans2.push(make_pair(man[1], -1));
          ans += man[0] + man[p] + man[1];
          ans2.push(make_pair(man[0], man[p]));
          ans2.push(make_pair(man[0], -1));
          ans2.push(make_pair(man[0], man[1]));
          ans += man[1];
          ans2.push(make_pair(man[0], man[1]));
          ans += man[0];
  • EightQueenProblem2/이덕준소스 . . . . 25 matches
         bool EightQueens(int level, int queens[]);
         bool Promissing(int level, int queens[]);
         bool WellPutted(int level1, int level2, int queens[]);
         void PrintResult(int queens[]);
          int queens[8],i;
          for (i=0;i<8;i++) queens[i]=0;
          EightQueens(0,queens);
         bool EightQueens(int level, int queens[])
          queens[level]=i;
          if (Promissing(level,queens))
          PrintResult(queens);//return true;
          EightQueens(level+1,queens);
         bool Promissing(int level, int queens[])
          if (!WellPutted(i,level,queens))
         bool WellPutted(int level1, int level2, int queens[])
          if (queens[level1]==queens[level2])
          if (abs(queens[level1]-queens[level2]) == level2 - level1)
         void PrintResult(int queens[])
          cout<<queens[i]<<" ";
  • HowToStudyDesignPatterns . . . . 25 matches
         see also DoWeHaveToStudyDesignPatterns
         내가 여러분에게 "주석문을 가능하면 쓰지 않는 것이 더 좋다"라는 이야기를 했을 때 이 문장을 하나의 사실로 받아들이고 기억하면 그 시점 당장에는 학습이 일어나지 않는다고 봅니다. 대신 여러분이 차후에 여러가지 경험을 하면서도 이 화두를 놓치지 않고 있다가 어느 순간엔가, "아!!! 그래 주석문을 쓰지 않는게 좋겠구나!!"하고 자각하는 순간, 바로 그 시점에 학습이, 교육이 이뤄지는 것입니다. 이는 기본적으로 컨스트럭티비즘이라고 하는 삐아제와 비곳스키의 철학을 따르는 것이죠. 지식이란 외부에서 입력받는 것이 아니고, 그것에 대한 모델을 학습자 스스로가 내부에서 축조(construct)할 때 획득할 수 있는 것이라는 철학이죠.
          ''We were not bold enough to say in print that you should avoid putting in patterns until you had enough experience to know you needed them, but we all believed that. I have always thought that patterns should appear later in the life of a program, not in your early versions.''
          ''The other thing I want to underscore here is how to go about reading Design Patterns, a.k.a. the "GoF" book. Many people feel that to fully grasp its content, they need to read it sequentially. But GoF is really a reference book, not a novel. Imagine trying to learn German by reading a Deutsch-English dictionary cover-to-cover;it just won't work! If you want to master German, you have to immerse yourself in German culture. You have to live German. The same is true of design patterns: you must immerse yourself in software development before you can master them. You have to live the patterns.
          Read Design Patterns like a novel if you must, but few people will become fluent that way. Put the patterns to work in the heat of a software development project. Draw on their insights as you encounter real design problems. That’s the most efficient way to make the GoF patterns your own.''
         어떤 특정 문장 구조(as much as ...나, no more than ... 같은)를 학습하는데 최선은 그 문장 구조를 이용한 실제 문장을 나에게 의미있는 실 컨텍스트 속에서 많이 접하고 스스로 나름의 모델을 구축(constructivism)하여 교과서의 법칙에 "기쁨에 찬 동의"를 하는 것입니다.
         이런 식의 "사례 중심"의 공부를 위해서는 스터디 그룹을 조직하는 것이 좋습니다. 혼자 공부를 하건, 그룹으로 하건 조슈아 커리프스키의 유명한 A Learning Guide To Design Patterns (http://www.industriallogic.com/papers/learning.html'''''')을 꼭 참고하세요. 그리고 스터디 그룹을 효과적으로 꾸려 나가는 데에는 스터디 그룹의 패턴 언어를 서술한 Knowledge Hydrant (http://www.industriallogic.com/papers/khdraft.pdf'''''') 를 참고하면 많은 도움이 될 겁니다 -- 이 문서는 뭐든지 간에 그룹 스터디를 한다면 적용할 수 있습니다.
          1. Design Patterns Explained by Shalloway, and Trott : 최근 DP 개론서로 급부상하고 있는 명저
          1. Design Patterns Java Workbook by Steven John Metsker : DPE 다음으로 볼만한 책으로, 쏟아져 나오는 허접한 자바 패턴 책들과는 엄연히 다름
          1. ["DesignPatterns"] : Gang Of four가 저술한 디자인패턴의 바이블
          1. ["DesignPatternSmalltalkCompanion"] : GoF가 오른쪽 날개라면 DPSC는 왼쪽 날개
          1. Smalltalk Best Practice Patterns by Kent Beck : 마이크로 패턴. 개발자의 탈무드
          1. Patterns of Software by Richard Gabriel : 패턴에 관한 중요한 에세이 모음.
          1. Analysis Patterns by Martin Fowler : 비지니스 분석 패턴 목록
          * LearningGuideToDesignPatterns - 각각의 패턴 학습순서 관련 Article.
          * GofStructureDiagramConsideredHarmful - 관련 Article.
         오늘 짬이 나서 최근 우리나라의 IT 잡지에 연재되는 DesignPatterns 강좌를 훑어봤습니다. 소감은 한마디로, "이건 패턴을 가르치는 게 아니다!"라는 느낌이었습니다.
         ||''At this final stage, the patterns are no longer important ... [[BR]][[BR]]The patterns have taught you to be receptive to what is real.''||
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/김상섭 . . . . 25 matches
          int newstring::length() const
          newstring::newstring(const char* ch)
          newstring::newstring(const newstring & ns)
          ch = new char[strlen(ns.ch)+1];
          strcpy(ch,ns.ch);
          void operator+=(const newstring & a)
          newstring & newstring::operator=(const char* ch)
          newstring & newstring::operator=(const newstring ns)
          if(this->ch == ns.ch)
          ch = new char[strlen(ns.ch)+1];
          strcpy(this->ch, ns.ch);
         bool operator==(const newstring & a, const newstring & b)
         newstring & operator+(const newstring & a, const newstring & b)
         ostream & operator<<(ostream & os, const newstring& ns)
          os << ns.ch;
         istream & operator>>(istream & is, newstring & ns)
          delete [] ns.ch;
          ns.ch = new char[strlen(temp)+1];
          strcpy(ns.ch,temp);
          const newstring s = "123";
  • WikiSlide . . . . 25 matches
          * ''Wiki-Wiki'' is hawaii and means fast
          * Personal Information Management, Knowledgebases, Brainstorming
          * Help with problems or questions: HelpContents ([[Icon(help)]]) and HelpMiscellaneous/FrequentlyAskedQuestions
          * Navigation: Quicklinks, Icons link to system actions (HelpOnNavigation)
          * Quick search and additional actions (HelpOnActions)
          * Icons at top right (HelpOnNavigation)
         To add special formatting to text, just enclose it within markup. There are special notations which are automatically recognized as internal or external links or as embedded pictures.
         For details see HelpOnFormatting, HelpOnLinking and HelpOnSmileys.
         Headlines are placed on a line of their own and surrounded by one to five equal signs denoting the level of the headline. The headline is in between the equal signs, separated by a space. Example: [[BR]] `== Second Level ==`
          (!) A common error is to insert an additional blank after the ending equal signs!
         Paragraphs are lines separated by empty lines or other block structures. This means
         Preformatted text (e.g. a copy of an email) should be placed inside three curly braces `{{{ ... }}}`: {{{
         Tables appear if you separate the content of the columns by  `||`. All fields of the same row must be also on the same line in the editor.
          * Macros allow dynamic (computed) content to be inserted into pages.
         == Actions ==
         Actions operate either on a single page or on the whole Wiki.
          * `AttachFile`: Attach files to a page (HelpOnActions/AttachFile)
          * `SpellCheck`: Call check spelling for the current page (HelpOnSpellCheck)
         For details see HelpOnActions.
         Exceptions:
  • EffectiveSTL/Container . . . . 24 matches
          * 전자에는 vector, string, deque 등이 있다. 뭔가 또 복잡한 말이 있긴 한데 그냥 넘어가자. 대충 insert, delete가 일어나면 기존의 원소가 이동한다는 말 같다.
          * 후자에는 list 등이 있다. 노드는 그냥 포인터만 바꿔 주면 insert, delete가 자유자재로 된다는거 다 알것이다.
          * 양끝에서 insert, delete 하려면? Associative Containers는 쓰면 안된다.
          * Insert, Delete 할때 원소의 인덱스 위치가 변하면 안된다? 그러면 Contiguous-memory Containers는 쓰면 안된다. (해당 원소의 인덱스 위치가 변한다.)
          * Insert, Delete를 효율적으로 쓰려면, Node Based Containers를 쓰자.
          * 컨테이너에 Object를 넣을때에는, 그 Object의 복사 생성자(const reference)와, 대입 연산자를 재정의(const reference) 해주자. 안그러면 복사로 인한 엄청난 낭비를 보게 될것이다.
         = Item4. Call empty instead of checking size() against zero. =
         = Item5. Prefer range member functions to their single-element counterparts. =
         for(vector<Object>::const_itarator VWCI = a.begin() + a.size()/2 ; VWCI != a.end() ; ++VWCI)
         copy( a.begin() + a.size() / 2, a.end(), back_inserter(b)) ;
          * copy, push_back 이런것은 넣어줄때 insert iterator를 사용한다. 즉, 하나 넣고 메모리 할당 해주고, 객체 복사하고(큰 객체면... --; 묵념), 또 하나 넣어주고 저 짓하고.. 이런것이다. 하지만 assign은 똑같은 작업을 한번에 짠~, 만약 100개의 객체를 넣는다면 assign은 copy이런것보다 1/100 밖에 시간이 안걸린다는 것이다.(정확하진 않겠지만.. 뭐 그러하다.)
          * 또 하나의 문제점, insert 메소드는 실행할때마다 새로운 공간을 할당하기 위해 하나씩 밀린다. 만약 컨테이너가 n개의 객체를 가지고 있고, 거기다 m개의 객체를 insert로 넣으면.. n*m만큼 뒤로 땡기느라 시간을 낭비하게 된다. int같은 기본 자료형이면 괜찮을지도 모르지만.. 만약에 객체가 큰 경우라면, 대입 연산자, 복사 생성자 이런것도 저만큼 호출하게 된다. 미친다.
          * range 멤버 메소드는 주어진 두개의 반복자로 크기를 계산해서 한번에 옮기고 넣는다. 벡터를 예로 들면, 만약에 주어진 공간이 꽉 찼을때, insert를 수행하면, 새로운 공간 할당해서 지금의 내용들과, 넣으려는 것들을 그리로 옮기고 지금 있는걸 지우는 작업이 수행된다. 이짓을 100번 해보라, 컴퓨터가 상당히 기분나빠할지도 모른다. 하지만 range 멤버 메소드는 미리 늘려야 할 크기를 알기 때문에 한번만 하면 된다.
         struct DeleteObject : public unary_function<const T*, void>
          void operator()(const T* ptr) const
         = Item9. Choose carefully among erasing options. =
         remove_copy_if(c.begin(), c.end(), inserter(goodValues, goodValues.end()), badValue); // 헉 이분법--;. 보면서 느끼는 거지만 정말 신기한거 많다. 저런 것들을 도대체 무슨 생각으로 구현했을지..
         = Item10. Be aware of allocator conventions and restrictions. =
         = Item12. Have realistic expectations about the thread safety of STL containers. =
  • EffectiveSTL/Iterator . . . . 24 matches
          * STL이 제공하는 반복자는 4가지다. (iterator, const_iterator, reverse_iterator, const_reverse_iterator)
         = Item26. Prefer iterator to const_iterator, reverse_iterator, and const_reverst_iterator. =
          * container<T>::const_iterator, const_reverse_iterator : const T*
          * 내 해석이 잘못되지 않았다면, const_iterator는 말썽의 소지가 있는 넘이라고까지 표현하고 있다.
         = Item27. Use distance and advance to convert a container's const_iterators to iterators. =
          * const_iterator는 될수 있으면 쓰지 말라고 했지만, 어쩔수 없이 써야할 경우가 있다.
          * 그래서 이번 Item에서는 const_iterator -> iterator로 변환하는 법을 설명하고 있다. 반대의 경우는 암시적인 변환이 가능하지만, 이건 안된다.
         // iterator와 const_iterator를 각각 Iter, CIter로 typedef해놓았다고 하자.
         Iter i( const_cast<Iter>(ci) ) // 역시 안된다. vector와 string에서는 될지도 모르지만... 별루 추천하지는 않는것 같다.
          * 밑에께 안되는 이유는 iterator와 const_iterator는 다른 클래스이다. 상속관계도 아닌 클래스가 형변환 될리가 없다.
          * vector<T>::iterator는 T*의 typedef, vector<T>::const_iterator는 const T*의 typedef이다. (클래스가 아니다.)
          * string::iterator는 char*의 typedef, string::const_iterator는 const char*의 typedef이다. 따라서 const_cast<>가 통한다. (역시 클래스가 아니다.)
          * 하지만 reverse_iterator와 const_reverse_iterator는 typedef이 아닌 클래스이다. const_cast<안된다>.
          * 왜 안되냐면, distance의 인자는 둘자 iterator다. const_iterator가 아니다.
          * 만약에 ri가 가르키는 위치에다 새로운 원소를 삽입하고 싶다고 하자. 하지만 insert 메소드는 reverse_iterator는 인자로 받지 않는다. iterator형만 인자로 받는다. 즉 직접은 못한다는 것이다. 지울때도 이와 같은 문제가 발생한다. 그래서 base()를 쓰는 것이다.
         = Item29. Consider istreambuf_iterators for character-by-characer input. =
  • MedusaCppStudy/석우 . . . . 24 matches
         void Showboard(const vector< vector<int> >& board);
         void Showboard(const vector< vector<int> >& board)
         void print(const vector< vector<int> >& board, const Roachs& roach);
          srand((unsigned)time(NULL));
         void print(const vector< vector<int> >& board, const Roachs& roach)
         void changeinsmall(Words& word);
         bool compare(const Words& x, const Words& y);
         void Print(const vector<Words>& sentence);
          changeinsmall(word);
         void changeinsmall(Words& word)
         bool compare(const Words& x, const Words& y)
         void Print(const vector<Words>& sentence)
         const string drinks[] = {"sprite", "cold tea", "hot tea", "tejava", "cold milk", "hot milk"};
         const price[] = {400, 500, 500, 500, 600, 600};
         void Command(const string& command, int& won, vector<Drinks>& vec);
         void vend(int& won, vector<Drinks>& vec, const vector<Drinks>::size_type& i);
         void draw(const int& won);
         void Command(const string& command, int& won, vector<Drinks>& vec)
         void draw(const int& won)
         void vend(int& won, vector<Drinks>& vec, const vector<Drinks>::size_type& i)
  • MoreEffectiveC++/Operator . . . . 24 matches
         == Item 5: Be wary of user-defined conversion functions. ==
          * C++에서는 크게 두가지 방식의 함수로 형변환을 컴파일러에게 수행 시키킨다:[[BR]] '''''single-argument constructors''''' 와 '''''implicit type conversion operators''''' 이 그것이다.
          * '''''single-argument constructors''''' 은 인자를 하나의 인자만으로 세팅될수 있는 생성자이다. 여기 두가지의 예를 보자
          Name( const string& s);
          operator double() const;
          double asDouble() const;
          * '''''single-argument constructor''''' 는 더 어려운 문제를 제공한다. 게다가 이문제들은 암시적 형변환 보다 더 많은 부분을 차지하는 암시적 형변환에서 문제가 발생된다.
         bool operator==( const Array< int >& lhs, const Array<int>& rhs);
         7줄 ''if ( a == b[i] )'' 부분의 코드에서 프로그래머는 자신의 의도와는 다른 코드를 작성했다. 이런 문법 잘못은 당연히! 컴파일러가 알려줘야 개발자의 시간을 아낄수 있으리, 하지만 이런 예제가 꼭 그렇지만은 않다. 이 코드는 컴파일러 입장에서 보면 옳은 코드가 될수 있는 것이다. 바로 Array class에서 정의 하고 있는 '''''single-argument constructor''''' 에 의하여 컴파일시 이런 코드로의 변환의 가능성이 있다.
          int size() const { return theSize; }
         컴파일러 단에서 a생성자인 Array( ArraySize size) 에서 ArraySize 로의 single-argument constructor를 호출하기 때문에 선언이 가능하지만
         bool operator==( const Array< int >& lhs, const Array<int>& rhs);
         이런 경우에 operator==의 오른쪽에 있는 인자는 int가 single-argument constructor에 거칠수 없기 때문에 에러를 밷어 낸다.
          const UPInt operator++(int); // postfix++
          const UPInt operator--(int); // postfix--
         const UPInt& UPInt::operator++(int)
          static_cast dynamic_cast const_cast reinterpret_cast
         당신은 생성자를 직접 호출하기를 원할때가 있을 것이다. 하지만 생성자는 객체(object)를 초기화 시키고, 객제(object)는 오직 처음 주어지는 단 한번의 값으로 초기화 되어 질수있기 때문에 (예-const 인수들 초기화에 초기화 리스트를 쓰는 경우) 생성자를 이미 존재하고 있는 객체에 호출한다는건 생각의 여지가 없을 것이다.
          Widget* constructWidgetInBuffer(void * buffer, int widgetSize)
         해당 함수(construcWidgetInBuffer())는 버퍼에 만들어진 Widget 객체의 포인터를 반환하여 준다. 이렇게 호출할 경우 객체를 임의 위치에 할당할수 있는 능력 때문에 shared memory나 memory-mapped I/O 구현에 용이하다 constructorWidget에 보이는건 바로
  • NSIS/예제1 . . . . 24 matches
         ;example1.nsi
         Name "TestInstallSetup"
         OutFile "TestInstallSetup.exe"
         InstallDir $PROGRAMFILES\TestInstallSetup
         DirText "This will install the very simple example1 on your computer. Choose a directory"
          SetOutPath $INSTDIR
         ==== makensis 컴파일 과정 ====
         MakeNSIS v1.95 - Copyright 1999-2001 Nullsoft, Inc.
         Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib).
         Processing script file: "example1.nsi"
         Name: "TestInstallSetup"
         OutFile: "TestInstallSetup.exe"
         InstallDir: "$PROGRAMFILES\TestInstallSetup"
         DirText: "This will install the very simple example1 on your computer. Choose a directory" "" ""
         SetOutPath: "$INSTDIR"
         Output: "C:\Program Files\NSIS\TestInstallSetup.exe"
         Install: 1 section (1 required).
         Install: 4 instructions (96 bytes), 560 byte string table.
         Install code+strings: 525 / 944 bytes
         Install data: 139887 / 175941 bytes
  • EightQueenProblem/이덕준소스 . . . . 23 matches
         bool EightQueens(int level, int queens[]);
         bool Promissing(int level, int queens[]);
         bool WellPutted(int level1, int level2, int queens[]);
          int queens[8],i;
          for (i=0;i<8;i++) queens[i]=0;
          if (EightQueens(0,queens))
          cout<<queens[i]<<" ";
         bool EightQueens(int level, int queens[])
          queens[level]=i;
          if (Promissing(level,queens))
          if (EightQueens(level+1,queens))
         bool Promissing(int level, int queens[])
          if (!WellPutted(i,level,queens)) //if (!WellPutted(i,j,queens))
         bool WellPutted(int level1, int level2, int queens[])
          if (queens[level1]==queens[level2])
          if (abs(queens[level1]-queens[level2])==abs(level2 - level1))
  • InternalLinkage . . . . 23 matches
         The second subtlety has to do with the interaction of inlining and static objects inside functions. Look again at the code for the non-member version of thePrinter: ¤ Item M26, P17
         Except for the first time through this function (when p must be constructed), this is a one-line function — it consists entirely of the statement "return p;". If ever there were a good candidate for inlining, this function would certainly seem to be the one. Yet it's not declared inline. Why not? ¤ Item M26, P18
         Consider for a moment why you'd declare an object to be static. It's usually because you want only a single copy of that object, right? Now consider what inline means. Conceptually, it means compilers should replace each call to the function with a copy of the function body, but for non-member functions, it also means something else. It means the functions in question have internal linkage.
         You don't ordinarily need to worry about such linguistic mumbo jumbo, but there is one thing you must remember: functions with internal linkage may be duplicated within a program (i.e., the object code for the program may contain more than one copy of each function with internal linkage), and this duplication includes static objects contained within the functions. The result? If you create an inline non-member function containing a local static object, you may end up with more than one copy of the static object in your program! So don't create inline non-member functions that contain local static data.(9)
         9) In July 1996, the °ISO/ANSI standardization committee changed the default linkage of inline functions to external, so the problem I describe here has been eliminated, at least on paper. Your compilers may not yet be in accord with °the standard, however, so your best bet is still to shy away from inline functions with static data. ¤ Item M26, P61
         와 같은 의미가 된다. 이것은 inline 으로 선언할거리가 될것 같기도 하지만 inline 으로 선언되지 않았다. 왜일까? (Except for the first time through this function (when p must be constructed), this is a one-line function — it consists entirely of the statement "return p;". If ever there were a good candidate for inlining, this function would certainly seem to be the one. Yet it's not declared inline. Why not? )
         그것은 바로 InternalLinkage 때문이다. InternalLinkage 란, 컴파일 단위(translation unit -> Object Code로 생각해 보자) 내에서 객체나 함수의 이름이 공유되는 방식을 일컫는다. 즉, 객체의 이름이나 함수의 이름은 주어진 컴파일 단위 안에서만 의미를 가진다.
         예를들어, 함수 f가 InternalLinkage를 가지면, 목적코드(Translation Unit) a.obj 에 들어있는 함수 f와 목적코드 c.obj 에 들어있는 함수 f는 동일한 코드임에도 별개의 함수로 인식되어 중복된 코드가 생성된다.
         하지만 InternalLinkage가 초례하는 문제는 1996 {{{~cpp ISO/ANSI C++ }}} 표준화 작업에서 인라인함수(InlineFunction)를 ExternalLinkage 로 변경해서 문제가 되지 않는다.(최근의 컴파일러들은 지원한다.).
          ''암튼,결론이 어떻게 되나요? singleton 을 구현하는 용도로 자주 쓰는 static 변수를 사용하는 (주로 getInstance류) 메소드에서는 inline 을 쓰지 말자 인가요? --[1002]''
         See also [MoreEffectiveC++], [DesignPatterns]
  • MoinMoinFaq . . . . 23 matches
         == "What is a Wiki?" questions ==
         value derives from the use to which it is put. For instance, a page in
         possibility exists for accidental or conscious destruction or corruption
         difficult, because there is a change log (and back versions) of every page
         deletions or major content erasures are detected (which should be fairly
         the attributions on a page to make it look like a different person made a
         == Questions about using this Wiki ==
          normal words or wildcards (regular expressions).
         ==== Are there any conventions I should follow when adding information? ====
         formatted in a consistent way. One important
         convention that will help with consistency is the use of "Template"
          /!\ All of this only works if the HTML extensions (HTML macro and parser) are installed.
         == Installation & Configuration ==
         "Delete''''''Page" is not active by default, since it's most often used in intranets only and is somewhat dangerous in public wikis. To allow this and other dangerous actions, add them like this to {{{~cpp moin_config.py}}}: {{{~cpp
         allowed_actions=['DeletePage']
         including the number of pages, and the macros and actions that are installed.
         pages, and macros for orphan pages or other things an adminstrator
         Not directly. It's easy to do (if you have permissions where
         This is done as a hedge against the
         Templates are pages that show up automatically as options when you
  • ShellSort/문보창 . . . . 23 matches
         const int MAX_NAME = 81;
         const int MAX_TURTLE = 200;
         void input_turtle(char turt[][MAX_NAME], const int & nTurt);
         void move_turtle(const int * code, const int & nTurt, bool * isMove);
         void incoding(const char oldTurt[][MAX_NAME], const char newTurt[][MAX_NAME], const int & nTurt, int * code);
         void print_turtle(const char turt[][MAX_NAME], const int * code, const bool * isMove, const int & nTurt);
         inline void show_turtle(const char turt[]) { cout << turt << endl; };
         void input_turtle(char turt[][MAX_NAME], const int & nTurt)
         void incoding(const char oldTurt[][MAX_NAME], const char newTurt[][MAX_NAME], const int & nTurt, int * code)
         void move_turtle(const int * code, const int & nTurt, bool * isMove)
         void print_turtle(const char turt[][MAX_NAME], const int * code, const bool * isMove, const int & nTurt)
  • 3DGraphicsFoundation/INSU/SolarSystem . . . . 22 matches
         static HINSTANCE hInstance;
          // Set Viewport to window dimensions
          glTranslatef(0.0f, 0.0f, fFar);
          glTranslatef(50.0f, 0.0f, 0.0f);
          glTranslatef(0.0f, 0.0f, -70.0f);
          glTranslatef(0.0f, 0.0f, -90.0f);
          glTranslatef(0.0f, 0.0f, -8.0f);
          glTranslatef(0.0f, 0.0f, -110.0f);
          glTranslatef(0.0f, 0.0f, -130.0f);
          glTranslatef(160.0f, 0.0f, 0.0f);
          glTranslatef(190.0f, 0.0f, 0.0f);
          glTranslatef(0.0f, 0.0f, -220.0f);
          glTranslatef(0.0f, 0.0f, -240.0f);
         int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
          hInstance = hInst;
          wc.hInstance = hInstance;
          hInstance,
          TranslateMessage(&msg);
  • Gof/State . . . . 22 matches
         == Collaborations ==
         == Consequences ==
          1. It localizes state-specific behavior and partitions bahavior for different states.
          * It makes state transitions explicit.
          1. Who defines the state transitions?
          virtual void Transmit (TCPConnection* , TCPOctetStream* ):
          _state = TCPClosed::Instance ();
         void TCPState::Transmit (TCPConnection*, TCPOctetStream* ) { }
          static TCPState* Instance ();
          virtual void Transmit (TCPConnection* , TCPOctetStream* );
          static TCPState* Instance ();
          static TCPState* Instance ();
         TCPState 서브클래스는 내부 상태를 가지지 않는다, 그러므로 TCPState는 공유될 수 있고, 각각 단지 하나의 인스턴스만이 요구되어진다. 이 TCPState 서브클래스의 각각의 유일한 인스턴스들은 정적함수인 Instance 로 얻어진다. (TCPState 서브클래스는 Singleton 으로 만들어진다.)
          ChangeState (t, TCPEstablished::Instance ());
          ChangeState (t, TCPListen::Instance ());
          ChangeState (t, TCPListen::Instance ());
         void TCPEstablished::Transmit (TCPConnection* t, TCPOctetStream* o) {
          ChangeState (t, TCPEstablished::Instance ());
         Johnson an Zweig [JZ91] 은 StatePattern 과 TCP 커넥션 프로토콜로 어플리케이션의 특성을 나타낸다.
         == Related Patterns ==
  • Memo . . . . 22 matches
         RFC 793 Transmission Control Protocol
         #include <winsock2.h>
          unsigned char VerIHL; //Version and IP Header Length
          unsigned char Tos;
          unsigned short Total_len;
          unsigned short ID;
          unsigned short Flags_and_Frags; //Flags 3 bits and Fragment offset 13 bits
          unsigned char TTL;
          unsigned char Protocol;
          unsigned short Checksum;
          unsigned long SrcIP;
          unsigned long DstIP;
          //unsigned long Options_and_Padding;
          unsigned short SrcPort;
          unsigned short DstPort;
          unsigned short iphdrlen;
         #include <winsock2.h>
          server_addr.sin_port = htons(PORT);
          printf( "I have to answer the next question. %sn", question);
          printf( "I sent an answer. The answer is %srn", msg);
  • NamedPipe . . . . 22 matches
         A named pipe is a named, one-way or duplex pipe for communication between the pipe server and one or more pipe clients. All instances of a
         named pipe share the same pipe name, but each instance has its own buffers and handles, and provides a separate conduit for client-server communication. The use of instances enables multiple pipe clients to use the same named pipe simultaneously.
         Any process can act as both a server and a client, making peer-to-peer communication possible. As used here, the term pipe server refers to a process that creates a named pipe, and the term pipe client refers to a process that connects to an instance of a named pipe.
         VOID InstanceThread(LPVOID); // 쓰레드 함수
         VOID GetAnswerToRequest(LPTSTR, LPTSTR, LPDWORD); // 스레드
         // The main loop creates an instance of the named pipe and
         // connects, a thread is created to handle communications
          PIPE_UNLIMITED_INSTANCES, // max. instances
          // the function returns a nonzero value. If the function returns // 접속이 될 경우 0 아닌 값이 리턴 되며
          // zero, GetLastError returns ERROR_PIPE_CONNECTED. // 만약 0 값이 리턴이 될 경우 ERROR_PIPE_CONNECTED를 리턴한다.
          (LPTHREAD_START_ROUTINE) InstanceThread, // InstanceThread를 생성시킨다.
          &dwThreadId); // returns thread ID
         VOID InstanceThread(LPVOID lpvParam)
         // The thread's parameter is a handle to a pipe instance.
          GetAnswerToRequest(chRequest, chReply, &cbReplyBytes);
         // handle to this pipe instance.
          OPEN_EXISTING, // opens existing pipe
          // All pipe instances are busy, so wait for 20 seconds.
         || {{{~cpp TransactNamedPipe}}} || Single Operation으로 Read & Write를 할 수 있는 function 이다.||
  • SolarSystem/상협 . . . . 22 matches
         HINSTANCE hInstance;
          glTranslatef(-distance*cosin*cosin,-distance*sin*cosin,0.0f);
          glTranslatef(0.0f,0.0f,-22.0f);
          glTranslatef(distance1,0.0f,0.0f);
          glTranslatef(distance2,0,0.0f);
          glTranslatef(distance3,0.0f,0.0f);
          glTranslatef(distance4,0.0f,0.0f);
          glTranslatef(distance5,0.0f,0.0f);
          glTranslatef(distance6,0.0f,0.0f);
          glTranslatef(distance7,0.0f,0.0f);
          glTranslatef(distance8,0.0f,0.0f);
          glTranslatef(distance9,0.0f,0.0f);
          if(!UnregisterClass("OpenGL",hInstance))
          hInstance = NULL;
          hInstance = GetModuleHandle(NULL);
          wc.hInstance=hInstance;
          DEVMODE dmScreenSettings;
          memset(&dmScreenSettings,0,sizeof(dmScreenSettings));
          dmScreenSettings.dmPelsWidth = width;
          dmScreenSettings.dmPelsHeight = height;
  • WOWAddOn/2011년프로젝트/초성퀴즈 . . . . 22 matches
         import java.io.UnsupportedEncodingException;
         기본적으로 "/World of Warcraft/interface/addons/애드온명" 으로 폴더가 만들어져있어야한다.
         <UI xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui">
         처음에 문제가 생겼었는데 Eclipse에서 테스트하던 string.find(msg,"시작")이 WOW에서 글씨가 깨지며 정상 작동하지 않았다. 그 이유는 무엇이냐 하면 WOW Addon폴더에서 lua파일을 작업할때 메모장을 열고 작업했었는데 메모장의 기본 글자 Encoding타입은 윈도우에서 ANSI이다. 그렇기 때문에 WOW에서 쓰는 UTF-8과는 매칭이 안되는것! 따라서 메모장에서 새로 저장 -> 저장 버튼 밑에 Encoding타입을 UTF-8로 해주면 정상작동 한다. 이래저래 힘들게 한다.
         http://www.wowwiki.com/WoW_constants
         <UI xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui">
         <UI xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui">
          -- Insert your OnUpdate code here
         사이트는 http://www.codeplex.com/WarcraftAddOnStudio 에서 다운 받을 수 있다.
         <Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
          <AbsDimension x="359" y="303" />
          <AbsDimension x="100" y="-47" />
          <BackgroundInsets>
          <AbsInset left="11" right="12" top="12" bottom="11" />
          </BackgroundInsets>
  • 문자반대출력/허아영 . . . . 22 matches
         *(pCh+lenstr-i-1) = temp[i]; 이 부분에서 자꾸
         *(pCh+lenstr-i) = temp[i]; 이렇게 코딩해서, 컴파일은 되는데, 결과물이 안나와서 답답했었다.
         char strchange(char ch[50], int lenstr);
          int lenstr;
          lenstr = strlen(ch);
          *pCh = strchange(pCh, lenstr);
         char strchange(char *pCh, int lenstr)
          for(i = 0; i <= lenstr; i++)
          for(i = 0; i <=lenstr; i++)
          *(pCh+lenstr-i-1) = temp[i];
         char strchange(char ch[50], int lenstr, int choiceNum);
          int lenstr, choiceNum, i = 0;
          lenstr = strlen(ch);
          *pCh = strchange(pCh, lenstr, choiceNum);
         char strchange(char *pCh, int lenstr, int choiceNum)
          for(i = 0; i <= lenstr; i++)
          for(i = 0; i <= lenstr; i++)
          *(pCh+lenstr-i-1) = *(temp+i);
          for(i = 0; i < lenstr; i++)
          for(i = 0; i < lenstr; i+=2)
  • AVG-GCC . . . . 21 matches
         Usage: AVR-GCC.EXE [options] file... ''' 사용법 : AVR-GCC.EXE [옵션] FILE... '''[[BR]]
         Options:'''옵션'''[[BR]]
          --target-help Display target specific command line options[[BR]]
          (Use '-v --help' to display command line options of sub-processes)[[BR]]
          -print-multi-directory Display the root directory for versions of libgcc[[BR]]
          -print-multi-lib Display the mapping between command line options and[[BR]]
          -Wa,<options> Pass comma-separated <options> on to the assembler [[BR]]
          -Wp,<options> Pass comma-separated <options> on to the preprocessor[[BR]]
          -Wl,<options> Pass comma-separated <options> on to the linker[[BR]]
          -b <machine> Run gcc for target <machine>, if installed[[BR]]
          -V <version> Run gcc version number <version>, if installed[[BR]]
          'none' means revert to the default behaviour of[[BR]]
          guessing the language based on the file's extension[[BR]]
         Options starting with -g, -f, -m, -O or -W are automatically passed on to[[BR]]
         the various sub-processes invoked by AVR-GCC.EXE. In order to pass other options[[BR]]
         on to these processes the -W<letter> options must be used.[[BR]]
         For bug reporting instructions, please see:[[BR]]
  • Gof/Command . . . . 21 matches
         Action, Transaction
         때때로 요청받은 명령이나 request를 받는 객체에 대한 정보없이 객체들에게 request를 넘겨줄 때가 있다. 예를 들어 user interface tookit은 button이나 menu처럼 사용자 입력에 대해 응답하기 위해 요청을 처리하는 객체들을 포함한다. 하지만, 오직 toolkit을 사용하는 어플리케이션만이 어떤 객체가 어떤일을 해야 할지 알고 있으므로, toolkit은 button이나 menu에 대해서 요청에 대해 명시적으로 구현을 할 수 없다. toolkit 디자이너로서 우리는 request를 받는 개체나 request를 처리할 operations에 대해 알지 못한다.
         Command Pattern은 request 를 객체화함으로서 toolkit 객체로 하여금 불특정한 어플리케이션 객체에 대한 request를 만들게 한다. 이 객체는 다른 객체처럼 저장될 수 있으며 pass around 가능하다. 이 pattern의 key는 수행할 명령어에 대한 인터페이스를 선언하는 추상 Command class에 있다. 이 인터페이스의 가장 단순한 형태에서는 추상적인 Execute operation을 포함한다. 구체화된 Command subclass들은 request에 대한 receiver를 instance 변수로 저장하고 request를 invoke하기 위한 Execute operation을 구현함으로서 receiver-action 짝을 구체화시킨다. The receiver has the knowledge required to carry out the request.
         이러한 예들에서, 어떻게 Command pattern이 해당 명령을 invoke하는 객체와 명령을 수행하는 정보를 가진 객체를 분리하는지 주목하라. 이러함은 유저인터페이스를 디자인함에 있어서 많은 유연성을 제공한다. 어플리케이션은 단지 menu와 push button이 같은 구체적인 Command subclass의 인스턴스를 공유함으로서 menu 와 push button 인터페이스 제공할 수 있다. 우리는 동적으로 command를 바꿀 수 있으며, 이러함은 context-sensitive menu 를 구현하는데 유용하다. 또한 우리는 명령어들을 커다란 명령어에 하나로 조합함으로서 command scripting을 지원할 수 있다. 이러한 모든 것은 request를 issue하는 객체가 오직 어떻게 issue화 하는지만 알고 있으면 되기때문에 가능하다. request를 나타내는 객체는 어떻게 request가 수행되어야 할지 알 필요가 없다.
          * 기본명령어들를 기반으로 이용한 하이레벨의 명령들로 시스템을 조직할 때. 그러함 조직은 transaction을 지원하는 정보시스템에서 보편화된 방식이다. transaction은 데이터의 변화의 집합을 캡슐화한다. CommandPattern은 transaction을 디자인하는 하나의 방법을 제공한다. Command들은 공통된 인터페이스를 가지며, 모든 transaction를 같은 방법으로 invoke할 수 있도록 한다. CommandPattern은 또한 새로운 transaction들을 시스템에 확장시키기 쉽게 한다.
         == Collaborations ==
         == Consequences ==
         OpenCommand는 유저로부터 제공된 이름의 문서를 연다. OpenCommand는 반드시 Constructor에 Application 객체를 넘겨받아야 한다. AskUser 는 유저에게 열어야 할 문서의 이름을 묻는 루틴을 구현한다.
          virtual const char* AskUser ();
          char* _response;
          const char* name = AskUser ();
         PasteCommand 는 receiver로서 Document객체를 넘겨받아야 한다. receiver는 PasteCommand의 constructor의 parameter로서 받는다.
         constructor는 receiver와 instance 변수에 대응되는 action을 저장한다. Execute는 단순히 action을 receiver에 적용한다.
         MyClass의 instance로 있는 Action을 호출할 command를 만들기 위해서, 클라이언트는 단순히 이렇게 코딩한다.
         THINK 클래스 라이브러리 [Sym93b] 또한 undo 가능한 명령을 지원하기 위해 CommandPattern을 사용한다. THINK 에서의 Command들은 "Tasks" 로 불린다. Task 객체들은 ChainOfResponsibilityPattern에 입각하여 넘겨지고 소비되어진다.
         == Related Patterns ==
  • UML . . . . 21 matches
         In software engineering, Unified Modeling Language (UML) is a non-proprietary, third generation modeling and specification language. However, the use of UML is not restricted to model software. It can be used for modeling hardware (engineering systems) and is commonly used for business process modeling, organizational structure, and systems engineering modeling. The UML is an open method used to specify, visualize, construct, and document the artifacts of an object-oriented software-intensive system under development. The UML represents a compilation of best engineering practices which have proven to be successful in modeling large, complex systems, especially at the architectural level.
         The OMG defines a graphical notation for [[use case]]s, but it refrains from defining any written format for describing use cases in detail. Many people thus suffer under the misapprehension that a use case is its graphical notation; when in fact, the true value of a use case is the written description of scenarios regarding a business task.
         This diagram describes the structure of a simple Restaurant System. UML shows [[Inheritance_(computer_science)|Inheritance]] relationships with a [[triangle]]; and containers with [[rhombus|diamond shape]]. Additionally, the role of the relationship may be specified as well as the cardinality. The Restaurant System has any number of Food dishes(*), with one Kitchen(1), a Dining Area(contains), and any number of staff(*). All of these objects are associated to one Restaurant.
         A Collaboration diagram models the interactions between objects in terms of sequenced messages. Collaboration diagrams represent a combination of information taken from [[#UML_Class Diagram|Class]], [[#UML_Sequence_Diagram|Sequence]], and [[#UML_Use_Case_Diagram|Use Case Diagrams]] describing both the static structure and dynamic behavior of a system.
         Collaboration and sequence diagrams describe similiar information, and as typically implemented, can be transformed into one another without difficulty.
         Activity diagrams represent the business and operational workflows of a system. An Activity diagram is a variation of the state diagram where the "states" represent operations, and the transitions represent the activities that happen when the operation is complete.
         This activity diagram shows the actions that take place when completing a (web) form.
         Deployment diagrams serve to model the hardware used in system implementations and the associations between those components. The elements used in deployment diagrams are nodes (shown as a cube), components (shown as a rectangular box, with two rectangles protruding from the left side) and associations.
         This deployment diagram shows the hardware used in a small office network. The application server (node) is connected to the database server (node) and the database client (component) is installed on the application server. The workstation is connected (association) to the application server and to a printer.
         Although UML is a widely recognized and used standard, it is criticized for having imprecise semantics, which causes its interpretation to be subjective and therefore difficult for the formal test phase. This means that when using UML, users should provide some form of explanation of their models.
         Another problem is that UML doesn't apply well to distributed systems. In such systems, factors such as serialization, message passing and persistence are of great importance. UML lacks the ability to specify such things. For example, it is not possible to specify using UML that an object "lives" in a [[server]] process and that it is shared among various instances of a running [[process]].
         At the same time, UML is often considered to have become too bloated, and fine-grained in many aspects. Details which are best captured in source code are attempted to be captured using UML notation. The [[80-20 rule]] can be safely applied to UML: a small part of UML is adequate for most of the modeling needs, while many aspects of UML cater to some specialized or esoteric usages.
         (However, the comprehensive scope of UML 2.0 is appropriate for [[model-driven architecture]].)
  • DPSCChapter2 . . . . 20 matches
         Before launching into our descriptions of specific design patterns, we present a case study of sorts, involving multiple patterns. In the Design Pattern preface, the Gang of Four speak about moving from a "Huh?" to an "Aha!" experience with regard to understanding design patterns. We present here a little drama portraying such a transition. It consists of three vignettes: three days in the life of two Smalltalk programmers who work for MegaCorp Insurance Company. We are listening in on conversations between Don (an object newbie, but an experienced business analyst) and Jane (an object and pattern expert). Don comes to Jane with his design problems, and they solve them together. Although the characters are fictitious, the designs are real and have all been part of actual systems written in Smalltalk. Our goal is to demonstrate how, by careful analysis, design patterns can help derive solutions to real-world problems.
         Our story begins with a tired-looking Don approaching Jane's cubicle, where Jane sits quietly typing at her keyboard.
         Don : It's this claims-processing workflow system I've been asked to design. I just can't see how the objects will work together. I think I've found the basic objects in the system, but I don't understand how to make sense from their behaviors.
          1. Data Entry. This consists of various systems that receive health claims from a variety of different sources. All are logged by assigning a unique identifier. Paper claims and supporting via OCR (optical character recognition) to capture the data associated with each form field.
          2. Validation. The scanned and entered forms are validated to ensure that the fields are consistent and completely filled in. Incomplete or improperly filled-in forms are rejected by the system and are sent back to the claimant for resubmittal.
          3. Provider/Plan Match. An automated process attempts to mach the plan (the contract unser which the claim is being paid) and the health care provider (e.g., the doctor) identified on the claim with the providers with which the overall claim processing organization has a contract. If there is no exact match, the program identifies the most likely matches based on soundex technology (an algorithm for finding similar-sounding words). The system displays prospective matches to knowledge workers in order of the likeinhood of the match, who then identify the correct provider.
          4. Automatic Adjudication. The system determines whether a claim can be paid and how much to pay if and only if there are no inconsistencies between key data items associated with the claim. If there are inconsistencies, the system "pends" the claim for processing by the appropriate claims adjudicator.
  • Hartals/조현태 . . . . 20 matches
         const int NUMBER_NOMAL_DAY=2;
         const int NOMAL_DAYS[NUMBER_NOMAL_DAY]={6,7};
          int* mans;
          int** mans_days;
          mans=(int*)malloc(sizeof(int)*stage);
          mans_days=(int**)malloc(sizeof(int*)*stage);
          scanf("%d",mans+i);
          mans_days[i]=(int*)malloc(sizeof(int)*mans[i]);
          for (int j=0; j<mans[i]; ++j)
          scanf("%d",mans_days[i]+j);
          printf("%d\n",day_simulate(days[i],mans[i],mans_days[i]));
          free(mans_days[i]);
          free(mans_days);
          free(mans);
         int day_simulate(int input_day, int input_number_mans, int* input_mans)
          for (j=0;j<input_number_mans;++j)
          if (0==i%input_mans[j])
  • LinkedList/숙제 . . . . 20 matches
         List *pList,*pNew,*pIns; // struct _slist *pList, *pNew, *pIns; 구조체3개 선언
          pIns=(List *)malloc(sizeof(List));
          pIns->num=3; // 3번째 struct란 것을 표시.
          pIns->prev=pList; // pIns를 pList와 pNew 사이에 집어 넣는다. (pList <-- pIns)
          pIns->next=pNew; // pList <--> pNew, pIns ---> pNew
          pList->next=pIns; // pList <--> pIns, pIns ---> pNew, pList <--- pNew (pList <--> pList, pList <--- pNew <--- pIns)
          pNew->prev=pIns; // pList <--> pIns, pIns <--> pNew (pList <--> pIns <--> pNew)
          printf("pIns삽입시\n");
          free(pIns); // malloc함수로 만들어진 메모리중 쓸모 없는 메모리는 다시 반환되어야한다. (그렇지 않으면 메모리가 가득차서 컴퓨터가 멈춘다. ㅋㅋ)
          printf("pIns 삭제시\n");
  • MoinMoinTodo . . . . 20 matches
         To discuss the merit of the planned extensions, or new features from MoinMoinIdeas, please use MoinMoinDiscussion.
          * add a means to build the dict.cache file from the command line
          * Other things like color, icons, menu?
          * ProcessingInstructions
          * Remember when someone starts to edit a page, and warn when someone else opens the same page for editing
          * look at cvsweb code (color-coded, side-by-side comparisons)
          * or look at viewcvs www.lyra.org/viewcvs (a nicer python version of cvsweb with bonsai like features)
          * diff -y gives side by side comparisons
          * Create MoinMoinI18n master sets (english help pages are done, see HelpIndex, translations are welcome)
          * Document the config options (possibly ''after'' the refactoring)
          * Support URNs, see http://www.ietf.org/internet-drafts/draft-daigle-uri-std-00.txt and http://www.ietf.org/internet-drafts/draft-hakala-isbn-00.txt
          * Add display of config params (lower/uppercase letterns) to the SystemInfo macro.
          * WikiName|s instead of the obsessive WikiName' ' ' ' ' 's (or use " " for escaping)
          * Configuration ''outside'' the script proper (config file instead of moin_config.py)
          * Write timings to a log file (cgi_log) when configured accordingly, so we can check for necessary optimizations.
         The following actions are needed:
          * Use text links instead of images on RecentChanges
          * Other things like color, icons, menu?
  • 조영준/다대다채팅 . . . . 20 matches
         using System.Collections.Generic;
         using System.Collections.Generic;
          Console.WriteLine(TimeStamp() + "[]Server started");
          Console.WriteLine(TimeStamp() + "[]End");
          Console.ReadLine();
          Console.WriteLine(TimeStamp() + "!! " + e.Message);
          Console.WriteLine(TimeStamp() + s);
          string s = Console.ReadLine();
         using System.Collections.Generic;
          Console.WriteLine(ChatServer.TimeStamp() + "[]Connection established");
          Console.WriteLine(ChatServer.TimeStamp() + "!! " + e.Message);
          Console.WriteLine(ChatServer.TimeStamp() + "!! " + e.Message);
         using System.Collections.Generic;
          Console.WriteLine(TimeStamp() + "[] Connection established");
          Console.WriteLine(TimeStamp() + "!! " + e.Message);
          Console.WriteLine(TimeStamp() + "[] End");
          Console.ReadLine();
          Console.WriteLine(TimeStamp() + dataGet);
          Console.WriteLine(TimeStamp() + "!! " + e.Message);
          s = Console.ReadLine();
  • AutomatedJudgeScript . . . . 19 matches
         이 프로그램에서는 정답과 제출된 프로그램에서 만들어낸 출력 결과가 들어있는 파일을 받아서 아래에 정의된 방법에 따라 Accepted, Presentation Error, Wrong Answer 가운데 하나로 답해야 한다.
         Presentation Error : 숫자는 전부 같은 순서로 매치되지만 숫자가 아닌 문자가 하나 이상 매치되지 않는 것이 있으면 'Presentation Error'라고 답한다. 예를 들어 '15 0'과 '150'이 입력되었다면 'Presentation Error'라고 답할 수 있지만 '15 0'과 '1 0'이 입력되었다면 아래 설명에 나와있는 것처럼 'Wrong Answer'라고 답해야 한다.
         Wrong Answer : 제출된 프로그램에 의한 출력 결과가 위에 나와있는 두 가지 범주에 속하지 않는다면 'Wrong Answer'라고 답해야 한다.
         Run #x: Wrong Answer
         The answer is: 10
         The answer is: 5
         The answer is: 10
         The answer is: 5
         The answer is: 10
         The answer is: 5
         The answer is: 10
         The answer is: 15
         The answer is: 10
         The answer is: 5
         The answer is: 10
         The answer is: 5
         Run #2: Wrong Answer
         Run #4: Wrong Answer
  • EightQueenProblem/nextream . . . . 19 matches
         var positions = [0,0,0,0,0,0,0,0];
          for (var i=0; i<8; i++) document.write(positions[i] + " ");
          if (positions[line]==positions[i] || i+positions[i]==line+positions[line] || i-positions[i]==line-positions[line])
          positions[line] = i;
         var positions = [0,0,0,0,0,0,0,0];
          printBefore(positions[i]);
          printAfter(positions[i]);
          if (positions[line]==positions[i] || i+positions[i]==line+positions[line] || i-positions[i]==line-positions[line])
          positions[line] = i;
  • FortuneCookies . . . . 19 matches
          * Your present plans will be successful.
          * Might as well be frank, monsieur. It would take a miracle to get you out of Casablanca.
          * Show your affection, which will probably meet with pleasant response.
          * Promptness is its own reward, if one lives by the clock instead of the sword.
          * You are unscrupulously dishonest, false, and deceitful.
          * You have literary talent that you should take pains to develop.
          * Man's horizons are bounded by his vision.
          * You will be given a post of trust and responsibility.
          * As goatheard learns his trade by goat, so writer learns his trade by wrote.
          * A man who turns green has eschewed protein.
          * Even the smallest candle burns brighter in the dark.
          * You have an ability to sense and know higher truth.
          * Be careful how you get yourself involved with persons or situations that can't bear inspection.
          * You have an ability to sense and know higher truth.
          * To laugh at men of sense is the privilege of fools.
          * He is truly wise who gains wisdom from another's mishap.
  • MedusaCppStudy/재동 . . . . 19 matches
         const int DIRECTION_ROW[8] = {-1, -1, 0, 1, 1, 1, 0, -1};
         const int DIRECTION_COL[8] = {0, 1, 1, 1, 0, -1, -1, -1};
         void showBoard(const vector< vector<int> >& board);
         bool isAllBoard(const vector< vector<int> >& board);
         void inputRoachPosition(sRoach& roach, const vector< vector<int> >& board);
          srand((unsigned)time(NULL));
         void showBoard(const vector< vector<int> >& board)
         bool isAllBoard(const vector< vector<int> >& board)
         void inputRoachPosition(sRoach& roach, const vector< vector<int> >& board)
         bool compare(const sWord& x, const sWord &y);
         void showResult(const vector<sWord>& words);
         void checkInWords(vector<sWord>& words, const string& x);
         void addInWords(vector<sWord>& words, const string& x);
         bool compare(const sWord& x, const sWord &y)
         void showResult(const vector<sWord>& words)
         void checkInWords(vector<sWord>& words, const string& x)
         void addInWords(vector<sWord>& words, const string& x)
  • Plugin/Chrome/네이버사전 . . . . 19 matches
          * 크롬은 아시다시피 Plug-in을 설치할수 있다 extension program이라고도 하는것 같은데 뭐 쉽게 만들수 있는것 같다. 논문을 살펴보는데 사전기능을 쓰기위해 마우스를 올렸지만 실행이 되지 않았다.. 화난다=ㅂ= 그래서 살짝 살펴보니 .json확장자도 보이는것 같지만 문법도 간단하고 CSS와 HTML. DOM형식의 문서구조도 파악하고 있으니 어렵지 않을것 같았다. 그래서 간단히 네이버 링크를 긁어와 HTML element분석을 통해 Naver사전을 하는 Plug-in을 만들어볼까 한다.
         http://code.google.com/chrome/extensions/index.html
         http://code.google.com/chrome/extensions/getstarted.html
         // Use of this source code is governed by a BSD-style license that can be
         // found in the LICENSE file.
          var photos = req.responseXML.getElementsByTagName("photo");
          img.src = constructImageURL(photo);
         function constructImageURL(photo) {
          <title>Getting Started Extension's Popup</title>
          "name": "My First Extension",
          "description": "The first extension that I made.",
          "permissions": [
         === Google Chrome extension Sample ===
         ==== History 지워주는 extension ====
          "permissions": [
          * 링크 : http://code.google.com/chrome/extensions/contentSecurityPolicy.html
          "permissions": [
  • ProjectPrometheus/AT_BookSearch . . . . 19 matches
         def getSimpleSearchResponse(params):
          response = conn.getresponse()
          print response.status, response.reason
          data = response.read()
         def getAdvancedSearchResponse(params):
          response = conn.getresponse()
          print response.status, response.reason
          data = response.read()
          data = getAdvancedSearchResponse(params)
          data = getAdvancedSearchResponse(params)
          data = getAdvancedSearchResponse(params)
          data = getSimpleSearchResponse(params)
          data = getSimpleSearchResponse(params)
          data = getSimpleSearchResponse(params)
          data = getSimpleSearchResponse(params)
  • [Lovely]boy^_^/EnglishGrammer/PresentAndPast . . . . 19 matches
          This means) She is driving now, at the time of speaking. The action is not finished.
          This means) Tom is not reading the book at the time of speaking.
          He means that he has started it but has not finished it yet. He is in the middle of reading it.
          This Means) He is not driving a bus. but He drives a bus.
          B. We use the simple present to talk about things in general. We use it to say that something happens all the time
          C. We use do/does to make questions and negative sentences.( 의문문이나 부정문 만들떄 do/does를 쓴다 )
          The action is not finished. sometimes, Use the Present continuous for temporary situations.
          ex) When temporary situations : I'm living with some friends until I find an apartment.
          Sometimes, Use the simple present for permanent situations.
          ex) When Permanent situations : My parents live in Boston. They have lived there all their lives.
          It means that I do things too often, or more often than normal.
          A. We can use continuous tenses only for actions and happenings. Some verbs are not action verbs.
          understand believe remember belong contain consist depend seem
          When think means "believe" do not use the continuous (think가 believe의 의미로 쓰일때는 진행형 불가)
          I'm thinking ( = considering) of quitting my job.
          When have means "possess" do not use the continuous (have가 가진다의 의미로 쓰일떄 역시 진행형 불가)
          C. In questions and negatives we use did/didn't + base form(의문문이나 부정문 만들때는 did/didn't + 원형이랩니다.)
          Note that we do not use did in negatives and questions with was/were.(부정문이랑 의문문에선 did를 be동사와 같이 안쓴답니다.)
  • 데블스캠프2011/셋째날/String만들기/서지혜 . . . . 19 matches
          String(const char* origin);
          String(const String str, const int offset, const int length);
          const char charAt(const int offset);
          void concat(const char* str);
          bool equals(const char* str);
          const char* toLower();
          const char* toUpper();
         String::String(const char* origin)
         String::String(const String str, const int offset, const int length)
         const char String::charAt(int offset)
         String String::concat(const char* str)
         bool String::equals(const char* str)
         const char* String::toLower()
         const char* String::toUpper()
  • .bashrc . . . . 18 matches
         set -o nounset
         shopt -s checkwinsize
         # --> 좋군요. 도스에서 "ansi.sys"를 쓰는 것과 똑같은 효과가 있네요.
          unset PROMPT_COMMAND
         alias pjet='enscript -h -G -fCourier9 -d $LPDEST' # enscript 로 예쁜 출력하기(Pretty-print)
          echo -n "$@" '[y/n] ' ; read ans
          case "$ans" in
         set +o nounset # 이렇게 안 하면 programmable completion 몇 가지는 실패함
         complete -A variable export local readonly unset
         complete -A helptopic help # currently same as builtins
         # a so-called 'long options' mode , ie: 'ls --all' instead of 'ls -a'
          # if prev argument is -f, return possible filename completions.
          # we could be a little smarter here and return matches against
          # if we want an option, return the possible posix options
          eval makef=${COMP_WORDS[i+1]} # eval for tilde expansion
          # if we have a partial word to complete, restrict completions to
  • ClassifyByAnagram/김재우 . . . . 18 matches
          inStr = StringIO.StringIO()
          inStr.write( """ab
          inStr.pos = 0
          a.main( input = inStr, output = outStr )
         using System.Collections;
          String line = Console.ReadLine();
          line = Console.ReadLine();
          Console.Error.Write( "Elapsed: " );
          Console.Error.Write( elapsed.Seconds );
          Console.Error.Write( "." );
          Console.Error.WriteLine( elapsed.Milliseconds );
          System.Collections.IEnumerator myEnumerator = list.GetEnumerator();
          Console.Write( (String) le.Current );
          Console.Write( " " );
          Console.Write( (String) le.Current );
          Console.WriteLine();
          * Code Style | Class Templates options (Tools | IDE Options).
          * Code Style | Class Templates options (Tools | IDE Options).
          Collections.sort( characterList );
          e.printStackTrace(); //To change body of catch statement use Options | File Templates.
  • CppUnit . . . . 18 matches
          a. Tools -> Options -> Directories -> Include files 에서 해당 cppunit
          * Tools -> Options -> Directories -> Library files 에서 역시 lib
         #include <cppunit/extensions/testfactoryregistry.h>
         BOOL CMyApp::InitInstance () {
         #include <cppunit/extensions/HelperMacros.h>
         #include <cppunit/extensions/HelperMacros.h>
         === Win32 API or Console 프로그래밍시 ===
         int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE, LPSTR, INT) {
         #include <cppunit/extensions/TestFactoryRegistry.h>
         #include <cppunit/extensions/HelperMacros.h>
         2) Questions related to Microsoft Visual VC++
          Enable RTTI in Projects/Settings.../C++/C++ Language. Make sure to do so for all configurations.
          In Debug configurations, CppUnit use "Debug Multihreaded DLL".
  • Cpp에서의멤버함수구현메커니즘 . . . . 18 matches
         new 키워드로 할당시에는 runtime 에 class 의 instance 를 찍어 낼수 있어야 합니다. 이를 위해 프로그램 안에는 위의 id가 int 라는 정보를 담는 class의 "class 틀" 정보를 담는 곳이 필요합니다.
         그외 class와 instance의 생성시 vpt와, 상속 관계에 대한 pointer 정보가 더 들어 가야 합니다. 그러나 여기에서는 생각하지 않습니다. 둘째로 넘어갑니다
         ==== instance 에 귀속된 멤버 함수들을 실행해 봅시다. ====
         C++ 표준안에서 전역에서 함수 호출과, instance에 귀속된 멤버 함수들의 호출을 가리지 않습니다. 함수 선언과 멤버 함수 선언의 함수 실행 코드는 모두 동일 방법으로 선언되고, 모두 동일한 메커니즘의 함수 포인터를 이용해서 호출합니다.
         '''전역 함수와 동일한 함수 선언의 형태라면 각각의 instance에 어떻게 접근하는가?'''
         라는 함수는 각 instance의 id 라는 인자에 접근합니다.
          사족. 이러한 사연이 class내에서 static 멤버 함수를 선언하고 instance에서 호출할때 instance 의 멤버 변수에 접근하지 못하는 이유가 됩니다. static 함수로 선언 하면 묵시적으로 pointer 를 세팅하지 않고 함수를 호출합니다.
         sayHello()는 instance variable에 접근하지 않는다는 것이고, {{{~cpp sayMyId()}}} 는 접근한다는 점이지요.
         따라서, 삭제후에 메모리를 청소(?) 해버리고 난후 해당 instance 부분을 실행해 보리니 id가 다음과 같이 엉뚱하게 나오지요.
         instance에 사용되었던 메모리는, 해당 process의 가용 메모리로 돌아가지, 접근 금지 영역으로 세팅되지 않습니다. 이 부분은 delete this 시 해당 instance 영역의 값을 어떻게 "청소"하느냐에 따라서, 플랫폼 별로 다르게 나옵니다.
         OOP적인 사고로 실행할 instance가 없으므로 불가능한 코드지만, 잘 실행됩니다. C++에서 함수 실행시 해당 instance의 존재 유무를 검사하지 않습니다. 검사 할 수도 없겠지요. NULL 조차 0 이라는 pointer 값에 해당하니까요.
          * C++ 에서 class 의 멤버 함수를 호출할때 멤버 함수의 첫인자를 해당 class 의 instance pointer 로 묵시적으로 선언되고 호출된다.
         instance 유무를 검사하는 Java 코드를 봅시다.
         (실행시점에 null 값인지 검사하고, 필요시 instance pool에서 instance를 pointer를 이용해서 접근하는 것으로 기억합니다. )
  • DevelopmentinWindows/APIExample . . . . 18 matches
         HINSTANCE hInst;
         ATOM MyRegisterClass(HINSTANCE hInstance);
         BOOL InitInstance(HINSTANCE, int);
         int APIENTRY WinMain(HINSTANCE hInstance,
          HINSTANCE hPrevInstance,
          MyRegisterClass(hInstance);
          if (!InitInstance (hInstance, nCmdShow))
          TranslateMessage(&msg);
         ATOM MyRegisterClass(HINSTANCE hInstance)
          wcex.hInstance = hInstance;
          wcex.hIconSm = NULL;
         BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
          hInst = hInstance;
          NULL, NULL, hInstance, NULL);
          DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);
  • EightQueenProblem/이선우3 . . . . 18 matches
         == ConsolBoard.java ==
         public class ConsolBoard extends Board
          public ConsolBoard( int sizeOfBoard ) throws Exception
          if( chessman instanceof Queen ) System.out.print( "Q" );
         n-Queens Problem을 해결하는 플레이어. 자신이 생각하는 알고리즘(여기서는 play 메소드)에 따라 보드에 체스 말 중, 퀸을 배열하고 올바른지 확인한다.
         public class NQueensPlayer
          private int numberOfSolutions;
          public NQueensPlayer() {}
          board = new ConsolBoard( sizeOfBoard );
          numberOfSolutions = 0;
          public int getNumberOfSolutions()
          return numberOfSolutions;
          numberOfSolutions ++;
          NQueensPlayer player = new NQueensPlayer();
          System.out.println( "I found " + player.getNumberOfSolutions() + " solutions." );
          System.out.println( "Usage: java NQueensPlayer size_of_board" );
  • FromDuskTillDawn/조현태 . . . . 18 matches
         const char DEBUG_READ[] = "2\n3\nUlm Muenchen 17 2\nUlm Muenchen 19 12\nUlm Muenchen 5 2\nUlm Muenchen\n10\nLugoj Sibiu 12 6\nLugoj Sibiu 18 6\nLugoj Sibiu 24 5\nLugoj Medias 22 8\nLugoj Medias 18 8\nLugoj Reghin 17 4\nSibiu Reghin 19 9\nSibiu Medias 20 3\nReghin Medias 20 4\nReghin Bacau 24 6\nLugoj Bacau";
         const int BUFFER_SIZE = 255;
          STown(const char* inputName)
         vector<STown*> g_myTowns;
         STown* SuchOrAddTown(const char* townName)
          for (register unsigned int i = 0; i < g_myTowns.size(); ++i)
          if (g_myTowns[i]->name == townName)
          return g_myTowns[i];
          g_myTowns.push_back(new STown(townName));
          return g_myTowns[g_myTowns.size() - 1];
         const char* Parser(const char* readData)
          for (register int i = 0; i < (int)g_myTowns.size(); ++i)
          delete g_myTowns[i];
          const char* readData = DEBUG_READ;
          g_myTowns.clear();
  • OurMajorLangIsCAndCPlusPlus/XML/조현태 . . . . 18 matches
          * C...C++이랑 많이 다르구나~ @.@ const, bool형이 없고 형체크가 정확하지 않아서 조마조마 했다는..ㅎㅎ
         typedef unsigned int bool;
         const char DEBUG_TEXT[] = "<zeropage>\n <studies>\n <cpp>\n <instructor>이상규</instructor>\n <participants>\n <name>김상섭</name>\n <name>김민경</name>\n <name>송수생</name>\n <name>조현태</name>\n </participants>\n </cpp>\n <java>\n <instructor>이선호</instructor>\n <participants>\n <name>김민경</name>\n <name>송수생</name>\n <name>조현태</name>\n </participants>\n </java>\n <mfc>\n <participants/>\n </mfc>\n </studies>\n</zeropage>\n";
         SReadBlock* CreateNewBlock(const char* name, const char* contents)
         const char* CreateTree(SReadBlock* headBlock, const char* readData)
          const char* nameEndPoint = strchr(readData, '>');
          const char* contentsEndPoint = strchr(readData, '<');
         void SuchAllSameNamePoint(const char* name, SReadBlock* suchBlock, SReadBlock*** suchedBlocks)
         void printSuchPoints(const char* query, SReadBlock* suchBlock)
          const char* suchEndPoint = NULL;
          const char* readData = DEBUG_TEXT;
          const char query[INPUT_BUFFUR];
  • VendingMachine/세연/재동 . . . . 18 matches
          int _insertAmount;
          void insertMoney();
          void insertDrink();
         void VendingMachine::insertMoney()
          int tempInsertMoney = 0;
          cin >> tempInsertMoney;
          if(isMoney(tempInsertMoney))
          _money += tempInsertMoney;
         void VendingMachine::insertDrink()
          int selectInsertDrink;
          cin >> selectInsertDrink;
          cin >> _insertAmount;
          if(isSelectableDrink(selectInsertDrink))
          s_drink[selectInsertDrink - 1].amount += _insertAmount;
          vendingMachine.insertMoney();
          vendingMachine.insertDrink();
         2. 중복된 곳이 많던 buy()함수와 insertDrink()함수를 집중적으로 수정
  • 가위바위보/영동 . . . . 18 matches
          char insu;
          fin.get(insu);
          result=gawibawibo(sunho, insu);
          cout<<"insu의 승수: "<<sunho_lose<<endl;
          cout<<"insu의 패수: "<<sunho_win<<endl;
         int gawibawibo(char sunho, char insu)
          if(sunho=='0' && insu=='2')
          else if(sunho=='2' && insu=='0')
          result=2; //insu가 이긴 경우는 2을 대입
          else if(sunho=='2' && insu=='1')
          else if(sunho=='1' && insu=='0')
          else if(sunho=='0' && insu=='1')
          result=2; //insu가 이긴 경우는 2을 대입
          else if(sunho=='1' && insu=='2')
          result=2; //insu가 이긴 경우는 2을 대입
          else if(sunho=='1' && insu=='1')
          else if(sunho=='2' && insu=='2')
          else if(sunho=='0' && insu=='0')
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/강성현 . . . . 18 matches
         import java.io.UnsupportedEncodingException;
          public FileData(String filename) throws FileNotFoundException, UnsupportedEncodingException {
         import java.io.UnsupportedEncodingException;
          while (st.hasMoreTokens()) {
          if (wordsInArticle.contains(word)) continue;
          if (!words.containsKey(word)) {
          while (st.hasMoreTokens()) {
          if (wordsInArticle.contains(word)) continue;
          if (!words.containsKey(word)) {
          } catch (UnsupportedEncodingException e) {
         import java.io.UnsupportedEncodingException;
          while (st.hasMoreTokens()) {
          if (wordsInArticle.contains(word)) continue;
          if (words.containsKey(word)) {
          while (st.hasMoreTokens()) {
          if (wordsInArticle.contains(word)) continue;
          if (words.containsKey(word)) {
          } catch (UnsupportedEncodingException e) {
  • 새싹교실/2012/앞부분만본반 . . . . 18 matches
         1장 Linear Equations in Linear Algebra 에서
         Linear Equations 와 Matrices 의 비교,
         variable,coefficient,constant에 대해서 설명.
         1 -> inconsistent
         2 -> consistent 을 구별
         주의) A L.S is consistent <-> A L.S has a solution 이라는 걸 강조
         소거법에 따른 Elementary Equation Operations(E.E.O)(L.S and Ax=b)와 Elementary Row Operations(E.R.O)([A b])에 대해서 비교, 설명함.
         ||Elementary Equation Operations(E.E.O)||
         ||Elementary Row Operations(E.R.O)||
          A system of linear equation is said to be consistent if it has either one solution or infinitely many solutions; a system is inconsistent if it has no solution.
          주의) A L.S is consistent <-> A L.S has a solution 이라는 걸 강조
          system이 infinitely many solutions일 때도 consistent가 아닌가요? 궁금해서 질문 올립니다.- [김희성]
         infinitely many solutions 일때도 consistent합니다.
  • 작은자바이야기 . . . . 18 matches
          * [:Java/Annotations Annotations] 및 [:Java/Generics Generics]
          * [:Java/Collections 컬렉션 프레임워크]와 동시성 제어
          * [:Java/OpenSourceLibraries 주요 오픈 소스 라이브러리]
          * http://stackoverflow.com/questions/68282/why-do-you-need-explicitly-have-the-self-argument-into-a-python-method
          * transient modifier는 VM의 자동 직렬화 과정에서 특정 속성을 제외할 수 있고, Externalizable 인터페이스를 구현하면 직렬화, 역직렬화 방식을 직접 정의할 수 있음을 보았습니다.
          * '''S'''RP (Single responsibility principle)
          * for Sorting.. stable, unstable
          * java.beans
          * apache.commons.lang
          * Pros and cons to use annotations
          * 라이브러리 파일(jar) 만들기(Run as -> Maven Install) - ObjectMapper를 라이브러리와 클라이언트 프로젝트로 분리.
          * mvn install - 패키징된 파일, pom을 .m2/repository에 집어넣는다.
          * 라이브러리 코드에 변경이 있을 시 maven install을 다시 하지 않으면 클라이언트 프로젝트에서 문제가 생길 수 있다.
         Driver driver = clazz.newInstance(); // 같은 방법으로 런타임 종속성으로 바꿀 수 있음.
          * response <- Servlet Container <- Filter <- Servlet
          * 명령어의 prefix로 타입을 구분한다. http://en.wikipedia.org/wiki/Java_bytecode#Instructions
  • BabyStepsSafely . . . . 17 matches
         This article outlines the refactoring of an algorithm that generate the prime numbers up to a user specified maximum. This algorithm is called the Sieve of Eratosthenes. This article demonstrates that the granularity of the changes made to the source code are very small and rely completely on the ability to recompile and test the code after every change no matter how small. The step where the code is tested insures that each step is done safely. It is important to note that the execution of tests do not actually guarantee that the code is correct. The execution of the tests just guarantees that it isn't any worse that it used to db, prior to the change. This is good enough for the purposes of refactoring since we are tring to not damage anything thay may have worked before Therefore for each change in the code we will be recompilling the code and running the tests.
         The code that is to be refactored has existed in the system for awhile. It has undergone a couple of transformations. Initially it returned an array of int variables that are the prime numbers. When the new collection library was introduced in Java2 the interface was changed to return a List of Integer objects. Going forward the method that returns a List is the preferred method, so the method that returns an array has been marked as being deprecated for the last couple of releases. During this release the array member function will be removed. Listing1, "Class GeneratePrimes," contains the source code for both methods.
          // declarations
         The test cases for the GeneratePrimes class are implemented using the JUnit testing framework. The tests are contained in class called TestGeneratePrames. There are a 5 tests for each return type (array and List), which appear to be similiar. Our first step to insure보증하다, 책임지다 that we are starting from a stable base is to make sure what we have works.
          assert("contains primes", contains(i, primes));
          assert("doesn't contain composites", !contains(i, primes));
          assert("contains primes", primes.contains(new Integer(i)));
          assert("doesn't contain composites", !primes.contains(new Integer(i)));
          assert(primes.contains(new Integer(2)));
          static boolean contains(int value, int [] primes)
  • Boost/SmartPointer . . . . 17 matches
         // and by ordering relationship (std::set).
          bool operator()( const FooPtr & a, const FooPtr & b )
          void operator()( const FooPtr & a )
          foo_set.insert( foo_ptr );
          foo_set.insert( foo_ptr );
          foo_set.insert( foo_ptr );
          foo_set.insert( foo_ptr );
         // This example demonstrates the handle/body idiom (also called pimpl and
         // some translation units using this header, shared_ptr< implementation >
         // shared_ptr_example2.cpp translation unit where functions requiring a
         // complete type are actually instantiated.
          example( const example & );
          example & operator=( const example & );
         example::example( const example & s ) : _imp( s._imp ) {}
         example & example::operator=( const example & s )
  • BoostLibrary/SmartPointer . . . . 17 matches
         // and by ordering relationship (std::set).
          bool operator()( const FooPtr & a, const FooPtr & b )
          void operator()( const FooPtr & a )
          foo_set.insert( foo_ptr );
          foo_set.insert( foo_ptr );
          foo_set.insert( foo_ptr );
          foo_set.insert( foo_ptr );
         // This example demonstrates the handle/body idiom (also called pimpl and
         // some translation units using this header, shared_ptr< implementation >
         // shared_ptr_example2.cpp translation unit where functions requiring a
         // complete type are actually instantiated.
          example( const example & );
          example & operator=( const example & );
         example::example( const example & s ) : _imp( s._imp ) {}
         example & example::operator=( const example & s )
  • EightQueenProblem/kulguy . . . . 17 matches
         === QueensProblem.java ===
         public class QueensProblem
          // to run, prompt>java QueensProblem x
          QueensProblem problem = new QueensProblem(Integer.parseInt(args[0]));
          public QueensProblem(int queensNum)
          this.queensNum = queensNum;
          board = new Chessboard(queensNum);
          if (index == queensNum)
          private int queensNum;
          queens = new Stack();
          queens.push(queen);
          queens.pop();
          Iterator iter = queens.iterator();
          private Stack queens;
  • EightQueenProblem/최봉환 . . . . 17 matches
          int nQueens=0;
          while(!bOk || nQueens<8){
          for(i=0;i<nQueens;i++) MARK(history[i]);
          bOk=MARK(history[nQueens]);
          if(nQueens!=7) history[nQueens+1]=history[nQueens];
          nQueens++;
          if(++history[nQueens].x==8){
          history[nQueens].x=0;
          if(++history[nQueens].y==8){
          nQueens--;
          }while(history[nQueens].x==7 && history[nQueens].y==7);
          if((++history[nQueens].x)==8){
          history[nQueens].x=0;
          history[nQueens].y++;
  • Gof/Composite . . . . 17 matches
         == Collaborations ==
         == Consequences ==
          const char* Name () { return _name; }
          Equipment (const char*);
          const char* _name;
         Equipment 는 전원소모량 (power consumption)과 가격(cost) 등과 같은 equipment의 일부의 속성들을 리턴하는 명령들을 선언한다. 서브클래스들은 해당 장비의 구체적 종류에 따라 이 명령들을 구현한다. Equipment 는 또한 Equipment의 일부를 접근할 수 있는 Iterator 를 리턴하는 CreateIterator 명령을 선언한다. 이 명령의 기본적인 구현부는 비어있는 집합에 대한 NullIterator 를 리턴한다.
          FloppyDisk (const char*);
          CompositeEquipment (const char*);
          Chassis (const char*);
         RTL Smalltalk 컴파일러 프레임워크 [JML92] 는 CompositePattern을 널리 사용한다. RTLExpression 은 parse tree를 위한 Component 클래스이다. RTLExpression 은 BinaryExpression 과 같은 서브클래스를 가지는데, 이는 RTLExpression 객체들을 자식으로 포함한다. 이 클래스들은 parse tree를 위해 composite 구조를 정의한다. RegisterTransfer 는 프로그램의 Single Static Assignment(SSA) 형태의 중간물을 위한 Component 클래스이다. RegisterTransfer 의 Leaf 서브클래스들은 다음과 같은 다른 형태의 static assignment 를 정의한다.
         Another subclass, RegisterTransferSet, is a Composite class for representing assignments that change several registers at once.
         또 다른 서브클래스로서 RegisterTransferSet이 있다. RegisterTransferSet 는 한번에 여러 register를 변경하는 assignment를 표현하기 위한 Composite 클래스이다.
         Another example of this pattern occurs in the financial domain, where a portfolio aggregates individual assets. You can support complex aggregations of assets by implementing a portfolio as a Composite that conforms to the interface of an individual asset [BE93].
         == Related Patterns ==
          * 종종 컴포넌트-부모 연결은 ChainOfResponsibilityPattern에 이용된다.
  • Graphical Editor/Celfin . . . . 17 matches
         char instruction;
          const int PLUS_X[8] = {+0, +1, +1, +1, +0, -1, -1, -1};
          const int PLUS_Y[8] = {+1, +1, +0, -1, -1, -1, +0, 1};
          while(cin>>instruction)
          if(instruction=='X')
          if(instruction=='I' || instruction=='C')
          if(instruction=='I')
          else if(instruction=='L' || instruction=='V' || instruction=='H' || instruction=='K')
          if(instruction=='L')
          else if(instruction=='V')
          else if(instruction=='H')
          else if(instruction=='F')
          else if(instruction=='S')
  • MoreEffectiveC++/Basic . . . . 17 matches
          void printDouble(const double& rd)
          void printDouble (const double* pd)
         사견: Call by Value 보다 Call by Reference와 Const의 조합을 선호하자. 저자의 Effective C++에 전반적으로 언급되어 있고, 프로그래밍을 해보니 괜찮은 편이었다. 단 return에서 말썽이 생기는데, 현재 내 생각은 return에 대해서 회의적이다. 그래서 나는 COM식 표현인 in, out 접두어를 사용해서 아예 인자를 넘겨서 관리한다. C++의 경우 return에 의해 객체를 Call by Reference하면 {} 를 벗어나는 셈이 되는데 어디서 파괴되는 것인가. 다 공부가 부족해서야 쩝 --;
         const_cast<type>(expression)
         다른 cast 문법은 const와 class가 고려된 C++ style cast연산자 이다.
          * ''const_cast<type>(expression)예제''
         const SpecialWidget& csw = sw;
         update(&csw); // 당연히 안됨 const인자이므로 변환(풀어주는 일) 시켜 주어야 한다.
         update(const_cast<SpecialWidget*>(&csw)); // 옳타쿠나
         update(const_cast<SpecialWidget*>(pw)); // error!
          // const_cast<type>(expression) 는
          // 오직 상수(constness)나 변수(volatileness)에 영향을 미친다.
          // const_cast 가 down cast가 불가능 한 대신에 dynamic_cast 는 말그대로
         #define const_cast(TYPE, TEXPR) ((TYPE) (EXPR))
          update(const_cast(SpecialWidget*, &sw));
         void printBSTArray( ostream& s, const BST array[], int numElements)
         == Item 4: Avoid gratuitous default constructors. ==
  • ReverseAndAdd/문보창 . . . . 17 matches
         int makePalim(unsigned int * pal, unsigned int originN, int count);
         void showPalim(const unsigned int * pal, const int * nadd, const int n);
          unsigned int num; // test
          unsigned int * palim = new unsigned int[n]; // palindrome
         int makePalim(unsigned int * pal, unsigned int originN, int count)
          unsigned int reverseN; // reverse한 수
          unsigned int temp, t;
         void showPalim(const unsigned int * pal, const int * nadd, const int n)
  • ReverseAndAdd/허아영 . . . . 17 matches
         unsigned int numLength(unsigned int num)
          unsigned int turn = 0;
         bool isPalindrome(unsigned int *num, unsigned int length)
          unsigned int i;
         unsigned int ReverseAndAdd(unsigned int *num, unsigned int length)
          unsigned int i, reverseNum = 0, Num = 0;
          unsigned int *temp = new unsigned int [length];
         unsigned int main()
          unsigned int addNum, length, i, turn = 0, testCaseNum;
          unsigned int num;
          unsigned int * store_numbers;
          store_numbers = new unsigned int[numLength(num)];
  • 기술적인의미에서의ZeroPage . . . . 17 matches
         The zero page instructions allow for shorter code and excution times by only feching the
         second byte of the instruction and assumming a zero high address byte.
         In early computers, including the PDP-8, the zero page had a special fast addressing mode, which facilitated its use for temporary storage of data and compensated for the relative shortage of CPU registers. The PDP-8 had only one register, so zero page addressing was essential.
         Possibly unimaginable by computer users after the 1980s, the RAM of a computer used to be faster than or as fast as the CPU during the 1970s. Thus it made sense to have few registers and use the main memory as substitutes. Since each memory location within the zero page of a 16-bit address bus computer may be addressed by a single byte, it was faster, in 8-bit data bus machines, to access such a location rather than a non-zero page one.
         For example, the MOS Technology 6502 has only six non-general purpose registers. As a result, it used the zero page extensively. Many instructions are coded differently for zero page and non-zero page addresses:
         The above two instructions both do the same thing; they load the value of $00 into the A register. However, the first instruction is only two bytes long and also faster than the second instruction. Unlike today's RISC processors, the 6502's instructions can be from one byte to three bytes long.
         Zero page addressing now has mostly historical significance, since the developments in integrated circuit technology have made adding more registers to a CPU less expensive, and have made CPU operations much faster than RAM accesses. Some computer architectures still reserve the beginning of address space for other purposes, though; for instance, the Intel x86 systems reserve the first 512 words of address space for the interrupt table.
  • 진법바꾸기/허아영 . . . . 17 matches
         void jinsu_change(int, int);
          int ten_jinsu, any_jinbeob;
          scanf("%d %d", &ten_jinsu, &any_jinbeob);
          if(ten_jinsu == 0)
          jinsu_change(ten_jinsu, any_jinbeob);
         void jinsu_change(int ten_jinsu, int any_jinbeob)
          int temp_jinsu, turn = 0, i = 0;
          temp_jinsu = ten_jinsu;
          temp[i] = temp_jinsu % any_jinbeob;
          temp_jinsu = temp_jinsu/any_jinbeob;
          }while(temp_jinsu >= any_jinbeob);
          temp[turn] = temp_jinsu;
          printf("10진수 : %d n진법 : %d n결과 : ", ten_jinsu, any_jinbeob);
  • AcceleratedC++/Chapter4 . . . . 16 matches
          == 4.1 Organizing computations ==
          === 4.1.1. Finding medians ===
         double grade(double midterm, double final, const vector<double>& hw)
          * const vector<double>& hw : 이것을 우리는 double형 const vector로의 참조라고 부른다. reference라는 것은 어떠한 객체의 또다른 이름을 말한다. 또한 const를 씀으로써, 저 객체를 변경하지 않는다는 것을 보장해준다. 또한 우리는 reference를 씀으로써, 그 parameter를 복사하지 않는다. 즉 parameter가 커다란 객체일때, 그것을 복사함으로써 생기는 overhead를 없앨수 있는 것이다.
          * 이제 우리가 풀어야 할 문제는, 숙제의 등급을 vector로 읽어들이는 것이다. 여기에는 두가지의 문제점이 있다. 바로 리턴값이 두개여야 한다는 점이다. 하나는 읽어들인 등급들이고, 또 다른 하나는 그것이 성공했나 하는가이다. 하나의 대안이 있다. 바로 리턴하고자 하는 값을 리턴하지 말고, 그것을 reference로 넘겨서 변경해주는 법이다. const를 붙이지 않은 reference는 흔히 그 값을 변경할때 쓰인다. reference로 넘어가는 값을 변경해야 하므로 어떤 식(expression)이 reference로 넘어가면 안된다.(lvalue가 아니라고도 한다. lvalue란 임시적인 객체가 아닌 객체를 말한다.)
          * grade 함수를 보면, vector는 const 참조로 넘기고, double은 그렇지 않다. int나 double같은 기본형은 크기가 작기 때문에, 그냥 복사로 넘겨도 충분히 빠르다. 뭐 값을 변경해야 할때라면 참조로 넘겨야겠지만... const 참조는 가장 일반적인 전달방식이다.
          * const가 아닌 참조형 파라메터는 lvalue여야만 한다.
          === 4.1.5 Using functions to calculate a student's grade ===
         double grade(double midterm, double final, const vector<double>& hw);
         double grade(double midterm, double final, const vector<double>& hw)
         double grade(const Student_info& s)
         bool compare(const Student_info& x, const Student_info& y)
  • EmbeddedSystemClass . . . . 16 matches
         http://www.huins.com/new1//img/u-51.jpg
         [http://www.huins.com/new1/sub/sub2-3-6.htm HUINS 보드 소개 페이지]
         [http://zeropage.org/common-ftp/@embedded-system-cd/HUINS/pxa255_pro3v5.2A.iso 내장형시스템 보드 CD DOWNLOAD] : PXA255A (Intel XScale 400Mhz)
         최신 버전의 리눅스를 구해서 할 경우 페도라 Full install 의 경우 큰 문제가 없으나,
         aptitude install linux-headers-''[version]''
         aptitude install linux-image-''[version]''
         aptitude install gcc
         aptitude install make
         aptitude install openbsd-inetd
         aptitude install tftp-hpa tftpd-hpa
         aptitude install minicom
         aptitude install nfs-kernel-server
         aptitude install nfs-client
         aptitude install x-window-system
         aptitude install gnome
         aptitude install scim
         aptitude install scim-hangul
  • MoreMFC . . . . 16 matches
         int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
         wc.hInstance = hInstance;
          hInstance,
          TranslateMessage (&msg);
          virtual BOOL InitInstance ();
         // CMyApp member functions
         // CWinApp::InitInstance를 override한 가상함수이다.
         BOOL CMyApp::InitInstance ()
         // CMainWindow message map and member functions
         떡하니 source를 보면 어떻게 돌아가는 거야.. --; 라는 생각이 든다.. 나도 잘모른다. 그런데 가장 중요한것은 global영역에 myApp라는 변수가 선언되어 있다는 사실이다. myApp 라는 instance가 이 프로그램의 instance이다. --a (최초의 프로그램으로 인스턴스화..) 그리고, CWinApp를 상속한 CMyApp에 있는 유일한 함수 initInstance 에서 실제 window를 만들어준다.(InitInstance함수는 응용 프로그램이 처음 생길 때, 곡 window가 생성되기전, 응용 프로그램이 시작한 바로 다음에 호출된다) 이 부분에서 CMainWindow의 instance를 만들어 멤버 변수인 m_pMainWnd로 pointing한다. 이제 window는 생성 되었다. 그렇지만, 기억해야 할 것이 아직 window는 보이지 않는다는 사실이다. 그래서, CMainWindow의 pointer(m_pMainWindow)를 통해서 ShowWindow와 UpdateWindow를 호출해 준다. 그리고 TRUE를 return 함으로써 다음 작업으로 진행 할 수 있게 해준다.... 흘. 영서라 뭔소린지 하나도 모르겠네~ 캬캬.. ''' to be continue..'''[[BR]]
  • RandomWalk/영동 . . . . 16 matches
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
         const int MAX_X=5;
         const int MAX_Y=5;
         const int DIRECTION=8;
         const int MOVE_X[DIRECTION]={0, 1, 1, 1, 0, -1, -1, -1};
         const int MOVE_Y[DIRECTION]={-1, -1, 0, 1, 1, 1, 0, -1};
          srand((unsigned)time(NULL));
         const int MAX_X=5;
         const int MAX_Y=5;
         const int DIRECTION=8;
         const int MOVE_X[DIRECTION]={0, 1, 1, 1, 0, -1, -1, -1};
         const int MOVE_Y[DIRECTION]={-1, -1, 0, 1, 1, 1, 0, -1};
         const int MAX_X=5;
         const int MAX_Y=5;
          srand((unsigned)time(NULL));
  • cookieSend.py . . . . 16 matches
         def getResponse(host="", port=80, webpage="", method="GET", paramDict=None, cookieDict=None):
          response = conn.getresponse()
          print response.status, response.reason
          data = response.read()
          httpData['response'] = data
          httpData['cookie'] = response.getheader('Set-Cookie')
          httpData['msg'] = response.msg
         def printResponse(aStr):
          print "------------------------- response start ------------------------------"
          print "------------------------- response end ------------------------------"
          httpData = getResponse(host="zeropage.org", webpage="/~reset/testing.php", method='GET', paramDict=params, cookieDict=cookie)
          printResponse(httpData['response'])
          printResponse(httpData['msg'])
  • 3N+1Problem/Leonardong . . . . 15 matches
          self.cycleLens = {}
          self.cycleLens[i] = maximum
          if n not in self.cycleLens:
          if n in self.cycleLens:
          cycleLen = cycleLen + self.cycleLens[n] - 1
          self.cycleLens[aN] = cycleLen
          if aN not in self.cycleLens:
          return self.cycleLens[aN]
         storedCycleLens = [0] * MAX
          storedCycleLens[i] = cycleLen
          storedCycleLens[n] != 0:
          result += storedCycleLens[n] - 1
          storedCycleLens[aN] = getCycleLen(aN)
          return storedCycleLens[aN]
          storedCycleLens[n] = cycleLen
  • 5인용C++스터디/키보드및마우스의입출력 . . . . 15 matches
         HINSTANCE g_hInst;
         int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance
          g_hInst=hInstance;
          WndClass.hInstance=hInstance;
          NULL,(HMENU)NULL,hInstance,NULL);
          TranslateMessage(&Message);
          키보드로부터 문자를 입력받고자 할 경우는 WM_CHAR 메시지를 사용하면 된다는 것을 배웠다. 문자 이외의 키를 입력 받으려면 WM_CHAR 메시지만으로는 입력을 받을 수 없다. 예를 들어 커서 이동키라든가 Ins, Del, PgUp, 펑션키 등의 키는 문자키가 아니기 때문에 WM_CHAR 메시지로는 검출해 낼 수 없다. 이때는 WM_KEYDOWN 메시지를 사용해야 한다.
          * 1-3) TranslateMessage
          TranslateMessage(&Message);
         GetMessage는 메시지 큐에서 메시지를 꺼내온 후 이 메시지를 TranslateMessage 함수로 넘겨 준다. TranslateMessage 함수는 전달된 메시지가 WM_KEYDOWN인지와 눌려진 키가 문자키인지 검사해 보고 조건이 맞을 경우 WM_CHAR 메시지를 만들어 메시지 큐에 덧붙이는 역할을 한다. 물론 문자 입력이 아닐 경우는 아무 일도 하지 않으며 이 메시지는 DispatchMessage 함수에 의해 WndProc으로 보내진다. 만약 메시지 루프에서 TranslateMessage 함수를 빼 버리면 WM_CHAR 메시지는 절대로 WndProc으로 전달되지 않을 것이다.
  • Java/ModeSelectionPerformanceTest . . . . 15 matches
         한편으로 느껴지는 것으로는, switch 로 분기를 나눌 mode string 과 웹 parameter 와의 중복이 있을 것이라는 점이 보인다. 그리고 하나의 mode 가 늘어날때마다 해당 method 가 늘어나고, mode string 이 늘어나고, if-else 구문이 주욱 길어진다는 점이 있다. 지금은 메소드로 추출을 해놓은 상황이지만, 만일 저 부분이 메소드로 추출이 안되어있다면? 그건 단 한마디 밖에 할말이 없다. (단, 저 논문을 아는 사람에 한해서) GotoStatementConsideredHarmful.
          e.printStackTrace(); //To change body of catch statement use Options | File Templates.
         import java.lang.reflect.Constructor;
          public void printPerformance(String[] modeExecute) throws NoSuchMethodException, InstantiationException, ClassNotFoundException, InvocationTargetException, IllegalAccessException {
          private void initModeMapWithReflection(String[] modeExecute) throws InstantiationException, InvocationTargetException, IllegalAccessException, NoSuchMethodException {
          Class[] consParamClasses = new Class[]{this.getClass()};
          Object[] consParams = new Object[]{this};
          Constructor innerCons = inners[i].getDeclaredConstructor(consParamClasses);
          modeMap.put(modeExecute[i], innerCons.newInstance(consParams));
          public static void main(String[] args) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, ClassNotFoundException, InstantiationException {
  • JavaScript/2011년스터디/김수경 . . . . 15 matches
         p instanceof Person && p instanceof Class &&
         n instanceof Ninja && n instanceof Person && n instanceof Class
          // Instantiate a base class (but only create the instance,
          // don't run the init constructor)
          // The dummy class constructor
          // All construction is actually done in the init method
          // Populate our constructed prototype object
          // Enforce the constructor to be what we expect
          Class.constructor = Class;
         // Allows for instanceof to work:
         (new Ninja()) instanceof Person
  • MoreEffectiveC++ . . . . 15 matches
         ANSI C++에 대한 약간은 수준있는 내용을 다루는 책. ["EffectiveC++"] 의 추가적인 내용이다.
          * ANSI C++에 대한 제반적인 내용을 깔끔한 필체로 쉽게 쉽게 다루고 있다. 명확한 개념 설명이 돗보인다. 프로그램과 디자인 능력을 향상시키는 35개의 방법이 제시되어 있다. 배치, 가상 생성자, 포인터 레퍼런스 카운팅, 프락시 클래스, 더블 디스패치와 같은 C++의 보다 세련된 기술에 대해 설명하고있다.
          * Item 4: Avoid gratuitous default constructors. - 암시적으로 제공되는 기본 생성자를 피하라. 혹은 기본 생성자의 모호성을 파악하라.
          * Item 5: Be wary of user-defined conversion functions. - 사용자 정의 형변환(conversion) 함수에 주의하라!
          * Item 10: Prevent resource leaks in constructors. - 생성자에서 자원이 세는걸 막아라.
          * Item 14: Use exception specifications judiciously. - 예외를 신중하게 사용하라.
          * Item 17: Consider using lazy evaluation - lazy evaluation의 쓰임에 대하여 생각해 보자.
          * Item 18: Amortize the cose of expected computations. - 예상되는 연산의 값을 계산해 두어라.
          * Item 21: Overload to avoid implicit type conversions.- 암시적(implicit) 형변환의 overload를 피하라
          * Item 22: Consider using op= instead of stand-alone op.- 혼자 쓰이는 op(+,-,/) 대신에 op=(+=,-=,/=)을 쓰는걸 생각해 봐라.
          * Item 23: Consider alternative libraries. - 라이브러리 교체에 관해서 생각해 봐라.
          * Item 24: Understand the costs of virtual functions, multiple ingeritance, virtual base classes, and RTTI [[BR]] - 가상 함수, 다중 상속, 가상 기초 클래스, RTTI(실시간 형 검사)에 대한 비용을 이해하라
          * Item 25: Virtualizing constructors and non-member functions. - 생성자와 비멤버 함수를 가상으로 돌아가게 하기.
          * Item 31: Making functions virtual with respect to more than one object. - 하나 이상 객체에 대응하는 함수를 virtual(가상)으로 동작 시키기
          * Item 32: Program in the Future tense - 미래를 대비하는 프로그램
  • RandomWalk2/조현태 . . . . 15 matches
          const int MOVE_TYPE = 8;
          const int ADD_X[MOVE_TYPE] = {0, 1, 1, 1, 0, -1, -1, -1};
          const int ADD_Y[MOVE_TYPE] = {-1, -1, 0, 1, 1, 1, 0, -1};
          const int MOVE_TYPE = 8;
          const int ADD_X[MOVE_TYPE] = {0, 1, 1, 1, 0, -1, -1, -1};
          const int ADD_Y[MOVE_TYPE] = {-1, -1, 0, 1, 1, 1, 0, -1};
          const int MOVE_TYPE = 8;
          const int ADD_X[MOVE_TYPE] = {0, 1, 1, 1, 0, -1, -1, -1};
          const int ADD_Y[MOVE_TYPE] = {-1, -1, 0, 1, 1, 1, 0, -1};
          const int MOVE_TYPE = 8;
          const int ADD_X[MOVE_TYPE] = {0, 1, 1, 1, 0, -1, -1, -1};
          const int ADD_Y[MOVE_TYPE] = {-1, -1, 0, 1, 1, 1, 0, -1};
          const int MOVE_TYPE = 9;
          const int ADD_X[MOVE_TYPE] = {0, 1, 1, 1, 0, -1, -1, -1, 0};
          const int ADD_Y[MOVE_TYPE] = {-1, -1, 0, 1, 1, 1, 0, -1, 0};
  • subsequence/권영기 . . . . 15 matches
          int l, h, m, i, ans = 100020;
          if(ans > m)ans = m;
          if(ans == 100020)ans = 0;
          cout<<ans;
          int n, k, i, ans, temp = 0;
          ans = high + 1;
          if(ans > mid)ans = mid;
          cout<<ans;
          int low, high, mid, ans = 0;
          if(ans < mid)ans = mid;
          cout<<ans;
  • whiteblue/간단한계산기 . . . . 15 matches
          GridBagConstraints c = new GridBagConstraints();
          c.fill = GridBagConstraints.BOTH;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          gridbag.setConstraints(inputField, c);
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          GridBagConstraints c) {
          gridbag.setConstraints(button, c);
  • 기본데이터베이스/조현태 . . . . 15 matches
         const int MAX_DATA_SIZE=100;
         const int HANG_MOK=4;
         const int MAX_MENU=8;
         const int QUIT=6;
         const char menu[MAX_MENU][20]={"insert","modify","delete","undelete","search","list","quit","?"};
         const char print_outs[HANG_MOK][5]={"id","name","tel","add"};
         const int MAX_BLOCK_SIZE=256;
         const int FALSE=-1;
         const int ALL=-1;
         void function_insert();void function_modify();void function_delete();void function_undelete();void function_search();void function_list();void function_quit();void function_help();
          void (*functions[MAX_MENU])(void)={function_insert,function_modify,function_delete,function_undelete,function_search,function_list,function_quit,function_help};
          functions[selected_number]();
         void function_insert()
  • 레밍즈프로젝트/박진하 . . . . 15 matches
         // Construction
          int GetSize() const;
          int GetUpperBound() const;
         // Operations
          TYPE GetAt(int nIndex) const;
          const TYPE* GetData() const;
          int Append(const CArray& src);
          void Copy(const CArray& src);
          TYPE operator[](int nIndex) const;
          // Operations that move elements around
          void InsertAt(int nIndex, ARG_TYPE newElement, int nCount = 1);
          void InsertAt(int nStartIndex, CArray* pNewArray);
          int m_nSize; // # of elements (upperBound - 1)
          void Dump(CDumpContext&) const;
          void AssertValid() const;
          ar.WriteCount(m_nSize);
          SerializeElements<TYPE>(ar, m_pData, m_nSize);
  • AcceleratedC++/Chapter3 . . . . 14 matches
          const string greeting = "Hello, " + name + "!";
         string insu("insu");
         // 요건 string형 변수 insu에 "insu"라는 문자열이 들어간다.
         string insu;
         == 3.2 Using medians instead of averages ==
          const string greeting = "Hello, " + name + "!";
          // invariant: homework contains all the homework grades read so far
          // 컴파일시 에러가 나서 같은 의미인 unsigned int형을 써서 vec_sz을 표현했습니다.
          typedef unsigned int vec_sz;
         === 3.2.3 Some additional observations ===
          * size_type은 unsigned int 이다.
  • CleanCode . . . . 14 matches
          * [http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882 CleanCode book]
          * 도서 : [http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882 Clean Code]
          * [http://alblue.bandlem.com/2011/02/gerrit-git-review-with-jenkins-ci.html 참고 데모 동영상]
          * [http://www.filewiki.net/xe/index.php?&vid=blog&mid=textyle&act=dispTextyle&search_target=title_content&search_keyword=gerrit&x=-1169&y=-20&document_srl=10376 gerrit install guide]
          * Git + Gerrit + Jenkins 전체 결합을 통해 코드 버그를 줄여보자
          * Consider using try-catch-finally instead of if statement.
         var array = stringObject.match(/regexp/); // if there is no match, then the function returns null, if not returns array.
         var array = stringObject.match(/regexp/) || []; // if the function returns null, then substitute empty array.
          * Separate Constructing a System from Using It.
          * 횡단 관심사의 처리(AOP) : DB 접속, transaction, log 등 다양한 모듈들에서 동일하게 나타나는 작업들
          var proxied = console.log;
          console.log = function() {
  • EightQueenProblem2/이강성 . . . . 14 matches
          self.queens = []
          self.solutions = []
          def decidePositions(self, count=8):
          self.queens.append( (x, y) )
          res = self.decidePositions(count-1)
          print self.queens
          self.solutions.append(self.queens[:])
          self.queens.pop()
          self.queens.pop()
          e.decidePositions()
          print 'Total solutions=', len(e.solutions)
          print e.solutions
  • Gof/Facade . . . . 14 matches
         == Collaborations ==
         == Consequences ==
          const char* variableName
          ) const;
          ) const;
          virtual ProgramNode* NewRetrunStatement (
          ) const;
          ) const;
         이 구현에서는 사용하려는 code-generator의 형태에 대해서 hard-codes (직접 특정형태 부분을 추상화시키지 않고 바로 입력)를 했다. 그렇게 함으로서 프로그래머는 목적이 되는 아키텍처로 구체화시키도록 요구받지 않는다. 만일 목적이 되는 아키텍처가 단 하나라면 그것은 아마 이성적인 판단일 것이다. 만일 그러한 경우가 아니라면 우리는 Compiler 의 constructor 에 CodeGenerator 를 인자로 추가하기 원할 것이다. 그러면 프로그래머는 Compiler를 instance화 할때 사용할 generator를 구체화할 수 있다. Compiler facade는 또한 Scanner나 ProgramNodeBuilder 등의 다른 협동하는 서브시스템클래스를 인자화할 수 있다. 그것은 유연성을 증가시키지만, 또한 일반적인 사용형태에 대해 인터페이스의 단순함을 제공하는 Facade pattern의 의의를 떨어뜨린다.
         ET++ application framework [WGM88] 에서, application은 run-time 상에서 application의 객체들을 살필 수 수 있는 built-in browsing tools를 가지고 있다.이러한 browsing tools는 "ProgrammingEnvironment'라 불리는 facade class를 가진 구분된 서브시스템에 구현되어있다. 이 facade는 browser에 접근 하기 위한 InspectObject나 InspectClass같은 operation을 정의한다.
          * AddressTranslation 은 address translation hardware 를 캡슐화한다.
         == Related Patterns ==
  • Ones/송지원 . . . . 14 matches
         void ones( longint *pns, int len )
          pns->length = len;
          pns->digits[i] = 0;
          pns->digits[j] = 1111;
          pns->digits[j] = 1;
          pns->digits[j] = 11;
          pns->digits[j] = 111;
         int division( longint *pns, int divisor ) {
          int i = ARRBOUND - (pns->length + 3) / 4;
          pns->digits[i] += (rem * 10000);
          rem = pns->digits[i] % divisor;
          longint ns;
          ones(&ns, i);
          if( division(&ns, n) == 0 ) break;
  • 서민관 . . . . 14 matches
          BOOL (*contains)(char *key);
         BOOL contains(char *key);
         // functions for KeyValuePair List
         // functions for Map
         BOOL contains(char *key) {
          ret->contains = contains;
          assert(map->contains("c") == TRUE);
          assert(map->contains("d") == TRUE);
          assert(map->contains("c") == FALSE);
          assert(map->contains("a") == FALSE);
          assert(map->contains("b") == FALSE);
          assert(map->contains("c") == FALSE);
          assert(map->contains("d") == FALSE);
  • 숫자야구/문원명 . . . . 14 matches
          int ans[3];
          ans[0] = rand()%10;
          ans[1] = rand()%10;
          } while(ans[1] == ans[0]);
          ans[2] = rand()%10;
          } while((ans[2] == ans[0]) || (ans[2] == ans[1]));
          cout << ans[0] << "\t" << ans[1] << "\t" << ans[2] << endl << endl;
          if (ans[i] == input[j])
  • AcceleratedC++/Chapter8 . . . . 13 matches
         = Chapter 8 Writing generic functions =
         T max(const T& left, const T& right)
          {{{~cpp template <class In, class X> In find(In begin, In end, const X& x) {
         template <class In, class X> In find(In begin, In end, const X& x) {
          모든 컨테이너는 back_inserter(class T)를 통해서 출력 반복자를 리턴시킬 수 있다. 이 반복자는 write-once의 특성을 가진다.
         template <class For, class X> void replace(For begin, For end, const X& x, const X& y) {
         template <class Ran, class X> bool binary_search(Ran begin, Ran end, const X& x) {
         copy(istream_iterator<int>(cin), istream_iterator<int>(), back_inserter(v));
         void split(const string& str, Out os) { // changed
          typedef string::const_iterator iter;
         Class Out 가 순방향, 임의접근, 출력 반복자의 요구사항을 모두 반족하기 때문에 istream_iterator만 아니라면 어떤 반복자에도 쓰일 수 있다. 즉, 특정변수로의 저장 뿐만아니라 console, file 로의 ostream 으로의 출력도 지원한다. '' 흠 대단하군.. ''
  • ComputerNetworkClass/Report2006/PacketAnalyzer . . . . 13 matches
         WSA prefix 를 가진 함수의 경우 대부분 Winsock 2에서 제공 되기 시작한 것이며, 이 WSAIoctl 역시도 윈속 2에서 지원된다.
         ※ 윈도우 소켓 프로그래밍을 위해서는 윈속 라이브러리를 같이 linking 해야하며, WSActrl 을 사용하기 위해서는 winsock2 라이브러리인 ws2_32.lib 를 포함해야한다.
          unsigned int optval;
          // Load Winsock
          if0.sin_port = htons(0);
         char, unsigned char, signed char 1 byte
         short, unsigned short 2 bytes
         int, unsigned int 4 bytes
         long, unsigned long 4 bytes
         const char* szIpAddr to DWORD ipvalue
         Unsigned short interger 변환 (2바이트 체계)
         htons() : host-to-network 바이트 변환
         Unsigned long interger 변환 (4바이트 체계)
  • EightQueenProblem/밥벌레 . . . . 13 matches
          { Private declarations }
          { Public declarations }
         procedure SetQueens(n: Integer); // 퀸 배치하기. 이 소스의 핵심함수. n은 현재 사용안한다. 처음엔 RandomSeed로 쓰려했음..-_-;
         function CheckQueens: Boolean; // 제대로 배치되었는지 검사하는 함수.
         procedure DrawQueens;
          DrawQueens;
          SetQueens(n);
          DrawQueens;
          until CheckQueens;
         procedure FindAllQueens;
          if CheckQueens then
          DrawQueens;
          FindAllQueens;
  • EnglishSpeaking/2011년스터디 . . . . 13 matches
          1. The Simpsons (심슨네 가족들)의 한 장면을 역할 분담해서 따라하기.
          * [EnglishSpeaking/TheSimpsons]
          1. The Simpsons
          * [EnglishSpeaking/TheSimpsons/S01E01]
          * [송지원] - 혹시나 했지만 역시나 현지 영어 따라하기는 쉽지 않습니다. 짧은 몇 줄 문장을 외워서 따라하기는 어렵지만 많이 하면 실력이 늘 거라는 생각은 들어요. Free Talking은 제가 하고 싶은 말을 나름 자유롭게 구사해서 만족했는데 Theme Talking에서는 한계를 느끼고 한국어를 섞어서 그 점이 좀 아쉬웠어요. 다음 주에는 The Simpsons.. 정말 4명이 함께 하기를 (온 성의를 다해 대본을 준비하는 만큼;ㅁ;)
          1. The Simpsons
          * [EnglishSpeaking/TheSimpsons/S01E02]
          1. The Simpsons
          * [EnglishSpeaking/TheSimpsons/S01E03]
          1. The Simpsons
          * [EnglishSpeaking/TheSimpsons/S01E04]
          1. The Simpsons
          * [EnglishSpeaking/TheSimpsons/S01E05]
  • IsBiggerSmarter?/문보창 . . . . 13 matches
         const int MAX_ELEPHANT = 1100;
          bool operator () (const Elephant & a, const Elephant & b)
         const int MAX_ELEPHANT = 1010;
         const int WEIGHT = 1;
         const int IQ = 2;
          bool operator () (const Elephant & a, const Elephant & b)
         int lcs_length(unsigned char t[][MAX_ELEPHANT]);
         void print_lcs(int i, int j, unsigned char t[][MAX_ELEPHANT]);
          unsigned char table[MAX_ELEPHANT][MAX_ELEPHANT];
         int lcs_length(unsigned char t[][MAX_ELEPHANT])
         void print_lcs(int i, int j, unsigned char t[][MAX_ELEPHANT])
  • LongestNap/문보창 . . . . 13 matches
          bool operator() (const Promise & a, const Promise & b)
         const int MAX = 100;
         const int START_TIME = 10;
         const int END_TIME = 18;
         Promise set_naptime(const Promise * pro, const int & nPromise);
         void show(const Promise & nap, const int & index);
         Promise set_naptime(const Promise * pro, const int & nPro)
         void show(const Promise & nap, const int & index)
  • MoniWikiPo . . . . 13 matches
         "Last-Translator: Won-kyu Park <wkpark@kldp.org>\n"
         "Content-Transfer-Encoding: 8bit\n"
         msgid "BabelFish Translation"
         msgid "Translate %s to %s"
         msgid "No older revisions available"
         msgid "Difference between versions"
         msgid "Show all revisions"
         msgid "Unselect all"
         msgid "%s does not support rcs options."
         msgid "Change options for \"%s\""
         msgid "Change options for \"%s\" ?"
         msgid "Please contact the system administrator for htaccess based logins."
         "<b>Tables</b>: || cell text |||| cell text spanning two columns ||;\n"
  • Refactoring/SimplifyingConditionalExpressions . . . . 13 matches
         = Chapter 9 Simplifying Conditional Expressions =
         == Consolidate Conditional Expression ==
         == Consolidate Duplicate Conditional Fragments ==
          double getExpenseLimit() {
          //should have eigher expense limit or a primary project
          return (_expenseLimit != NULL_EXPENSE)?
          _expenseLimit:
          _primaryProject.getMemberExpenseLimit();
          double getExpenseLimit() {
          Assert.isTrue( _expenseLimit != NULL_EXPENSE || _primaryProject != null );
          return (_expenseLimit != NULL_EXPENSE)?
          _expenseLimit:
          _primaryProject.getMemberExpenseLimit();
  • SeminarHowToProgramIt/Pipe/vendingmachine.py . . . . 13 matches
          self.dispenser='empty'
          self.dispenser=aButton
          def getCurrentDispenser(self):
          return self.dispenser
          def verifyDispenser(self, aKind):
          return self.dispenser == aKind
          self.assertEquals(expected, vm.getCurrentDispenser())
          self.assertEquals(expected, vm.getCurrentDispenser())
          def testVerifyDispenserTrue(self):
          self.assertEquals(expected, vm.verifyDispenser('white'))
          def testVerifyDispenserFalse(self):
          self.assertEquals(expected, vm.verifyDispenser('black'))
         "Console", line 1: Unexpected money type
  • SmalltalkBestPracticePatterns/DispatchedInterpretation . . . . 13 matches
         Encoding is inevitable in programming. At some point you say, "Here is some information. How am I going to represent it?" This decision to encode information happens a hundred times a day.
         Back in the days when data was separated from computation, and seldom the twain should meet, encoding decisions were critical. Any encoding decision you made was propagated to many different parts of the computation. If you got the encoding wrong, the cost of change was enormous. The longer it took to find the mistake, the more ridiculous the bill.
         Objects change all this. How you distribute responsibility among objects is the critical decision, encoding is a distant second. For the most part, in well factored programs, only a single object is interested in a piece of information. That object directly references the information and privately performs all the needed encoding and decoding.
         Sometimes, however, information in one object must influence the behavior of another. When the uses of the information are simple, or the possible choices based on the information limited, it is sufficient to send a message to the encoded object. Thus, the fact that boolean values are represented as instances of one of two classes, True and False, is hidden behind the message #ifTrue:ifFalse:.
         Sometimes, encoding decisions can be hidden behind intermediate objects. And ASCII String encoded as eight-bit bytes hides that fact by conversing with the outside world in terms of Characters:
         For example, consider a graphical Shape represented by a sequence of line, curve, stroke, and fill commands. Regardless of how the Shape is represented internally, it can provide a message #commandAt: anInteger that returns a Symbol representing the command and #argumentsAt: anInteger that returns an array of arguments. We could use these messages to write a PostScriptShapePrinter that would convert a Shape to PostScript:
         Every client that wanted to make decisions based on what commands where in a Shape would have to have the same case statement, violating the "once and only once" rule. We need a solution where the case statement is hidden inside of the encoded objects.
         This could be further simplified by giving Shapes the responsibility to iterate over themselves:
         The name "dispatched interpretation" comes from the distribution of responsibility. The encoded object "dispatches" a message to the client. The client "interprets" the message. Thus, the Shape dispatches message like #lineFrom:to: and #curveFrom:mid:to:. It's up to the clients to interpret the messages, with the PostScriptShapePrinter creating PostScript and the ShapeDisplayer displaying on the screen.
         '''''You will have to design a Mediating Protocol of messgaes to be sent back. Computations where both objects have decoding to do need Double Dispatch.'''''
  • TwistingTheTriad . . . . 13 matches
         One example of this deficiency surfaced in SmalltalkWorkspace widget. This was originally designed as a multiline text-editing component with additional logic to handle user interface commands such as Do-it, Show-it, Inspect-it etc. The view itself was a standard Windows text control and we just attached code to it to handle the workspace functionality. However, we soon discovered that we also wanted to have a rich text workspace widget too. Typically the implementation of this would have required the duplication of the workspace logic from the SmalltalkWorkspace component or, at least, an unwarranted refactoring session. It seemed to us that the widget framework could well do with some refactoring itself!
         In MVC, most of the application functionality must be built into a model class known as an Application Model. It is the reponsibility of the application model to be the mediator between the true domain objects and the views and their controllers. The views are responsible for displaying the domain data while the controller handle the raw usr gestures that will eventually perform action on this data. So the application model typically has method to perform menu command actions, push buttons actions and general validation on the data that it manages. Nearly all of the application logic will reside in the application model classes. However, because the application model's role is that of a go-between, it is at times necessary for it to gain access to the user interface directly but, because of the Observer relationship betweeen it and the view/controller, this sort of access is discouraged.
         For example, let's say one wants to explicitly change the colour of one or more views dependent on some conditions in the application model. The correct way to do this in MVC would be to trigger some sort of event, passing the colour along with it. Behaviour would then have to be coded in the view to "hang off" this event and to apply the colour change whenever the event was triggered. This is a rather circuitous route to achieving this simple functionality and typically it would be avoided by taking a shoutcut and using #componentAt : to look up a particular named view from the application model and to apply the colour change to the view directly. However, any direct access of a view like this breaks the MVC dictum that the model should know nothing about the views to which it is connected. If nothing else, this sort of activity surely breaks the possibility of allowing multiple views onto a model, which must be the reason behind using the Observer pattern in MVC in the first place.
         The behaviour of a view in MVP is much the same as in MVC. It is the view's responsibility to display the contents of a model. The model is expected to trigger appropriate change notification whenever its data is modified and these allow the view to "hang off" the model following the standard Observer pattern. In the same way as MVC does, this allows multiple vies to be connected to a single model.
         One significant difference in MVP is the removal of the controller. Instead, the view is expected to handle the raw user interface events generated by the operating system (in Windows these come in as WM_xxxx messages) and this way of working fits more naturally into the style of most modern operating systems. In some cases, as a TextView, the user input is handled directly by the view and used to make changes to the model data. However, in most cases the user input events are actually routed via the presenter and it is this which becomes responsible for how the model gets changed.
         While it is the view's responsibility to display model data it is the presenter that governs how the model can be manipulated and changed by the user interface. This is where the heart of an application's behaviour resides. In many ways, a MVP presenter is equivalent to the application model in MVC; most of the code dealing with how a user interface works is built into a presenter class. The main difference is that a presenter is ''directly'' linked to its associated view so that the two can closely collaborate in their roles of supplying the user interface for a particular model.
  • UnixSocketProgrammingAndWindowsImplementation . . . . 13 matches
         PF_NS XEROX : 네트워크 시스템의 프로토콜 체계 사용
         AF_NS XEROX : 주소 체계
         unsigned short integer 변환 (2바이트 크기)
          htons(): host-to-network 바이트 변환 (Big-Endian으로 변환)
         unsigned long integer 변환 (4바이트 크기)
          unsigned long s_addr;
          ina.sin_port = htons(PORT); // PORT의 경우 정수를 넣어야한다.
         ssize_t send(int fildes, const void * buf, size_t nbytes, unsigned int flags);
         ssize_t write(int fildes, const void * buf, size_t nbytes);
         ssize_t recv(int fildes, void *buf, size_t nbytes, unsigned int flags);
         ◎ #include <sys/socket.h> -> #include <winsock2.h>
         #include <winsock2.h>
         #include <winsock2.h>
          server_addr.sin_port = htons(PORT);
  • 레밍즈프로젝트/프로토타입/STLLIST . . . . 13 matches
         '''Construction'''
         || CList || Constructs an empty ordered list. ||
         || GetHead || Returns the head element of the list (cannot be empty). ||
         || GetTail || Returns the tail element of the list (cannot be empty). ||
         '''Operations'''
         || GetHeadPosition || Returns the position of the head element of the list. ||
         || GetTailPosition || Returns the position of the tail element of the list. ||
         '''Insertion'''
         || InsertBefore || Inserts a new element before a given position. ||
         || InsertAfter || Inserts a new element after a given position. ||
         || GetCount || Returns the number of elements in this list. ||
  • CPPStudy_2005_1/STL성적처리_1 . . . . 12 matches
         bool totalCompare(const Student_info &s1, const Student_info &s2);
         ostream& displayScores(ostream &out, const vector<Student_info> &students);
          transform(students.begin(),students.end(),back_inserter(sum),Sum);
          transform(students.begin(),students.end(),back_inserter(averageScore),average);
         bool totalCompare(const Student_info &s1, const Student_info &s2)
         ostream& displayScores(ostream &out, const vector<Student_info> &students)
          for(vector<Student_info>::const_iterator it = students.begin() ; it!=students.end();++it)
          for(vector<string>::const_iterator it = subject.begin() ;
  • ClassifyByAnagram/Passion . . . . 12 matches
          InputStream ins;
          this.ins = in;
          this.ins = byteInputStream;
          BufferedReader in = new BufferedReader(new InputStreamReader(ins));
          public int getContainsCount(String itemKey) {
          public void testContains() throws IOException
          assertEquals(1, parser.getContainsCount(sortedItem));
          public void testContains2() throws IOException
          assertEquals(4, parser.getContainsCount(Parser.sortString("abc")));
          assertEquals(2, parser.getContainsCount(Parser.sortString("aabb")));
          assertEquals(2, parser.getContainsCount(Parser.sortString("cdd")));
          assertEquals(1, parser.getContainsCount(Parser.sortString("xds")));
  • CppStudy_2002_1/과제1/Yggdrasil . . . . 12 matches
         void say(const char *);
         void say(const char *str)
          CandyBar answer;
          answer.name=company;
          answer.wei=weight;
          answer.cal=calorie;
          return answer;
         const int Len=40;
         void setgolf(golf &g, const char *name, int hc);
         void showgolf(const golf &g);
         void setgolf(golf &g, const char *name, int hc)
         void showgolf(const golf & g)
  • GIMP . . . . 12 matches
          http://www.gimp.org/screenshots/linux_screenshot2.png
          http://www.gimp.org/screenshots/solaris_screenshot1.png
          http://www.gimp.org/screenshots/windowsxp_screenshot1.png
          http://www.gimp.org/screenshots/windowsxp_screenshot2.png
          http://www.gimp.org/screenshots/windowsxp_screenshot3.png
          http://www.gimp.org/screenshots/macosx_screenshot1.png
  • GuiTestingWithMfc . . . . 12 matches
         이는 App 클래스의 InitInstance 함수에서 해준다.
         BOOL CGuiTestingOneApp::InitInstance()
          int nResponse = dlg.DoModal();
          if (nResponse == IDOK)
          else if (nResponse == IDCANCEL)
         #include <cppunit/Extensions/HelperMacros.h>
         여기까지로 생각해놓은 테스트들이 전부 완료. 앞에 InitInstance 에 써 넣은 주석을 풀고, 실제로 실행해보자.
         BOOL CGuiTestingOneApp::InitInstance()
          int nResponse = dlg.DoModal();
          if (nResponse == IDOK)
          else if (nResponse == IDCANCEL)
  • Java/ReflectionForInnerClass . . . . 12 matches
         import java.lang.reflect.Constructor;
         public class InnerConstructorTest {
          Object outer = outerClass.newInstance();
          Class[] consParamClasses = new Class[]{outerClass};
          Constructor innerCons =
          innerClass.getDeclaredConstructor(consParamClasses);
          Object[] consParams = new Object[]{outer};
          Object inner = innerCons.newInstance(consParams);
  • JavaScript/2011년스터디/URLHunter . . . . 12 matches
          You should kill all the monsters.<br>
          Your gun point is 'O' and Others are Monsters.
         function Monster(w){
         Monster.prototype = new Creature();
          this.a1 = new Monster(Math.floor(Math.random()*MapLength));
          this.a2 = new Monster(Math.floor(Math.random()*MapLength));
          this.a3 = new Monster(Math.floor(Math.random()*MapLength));
          this.a4 = new Monster(Math.floor(Math.random()*MapLength));
          this.a5 = new Monster(Math.floor(Math.random()*MapLength));
         var monsters = new Array();
          //create monsters
          monsters[i] = new Character((i*20)%length);
  • NSIS/예제4 . . . . 12 matches
         설치중에 윈도우 서비스를 멈췄다가 살리는 스크립트. 이것때문에 삽질을 좀 했다....-_-;; servicelib.nsh 파일을 인클루드 해줘야한다.
         !include "MUI.nsh"
         !include "servicelib.nsh"
         LoadLanguageFile "${NSISDIR}\Contrib\Language files\Korean.nlf"
         ShowInstDetails show
         LicenseText "인스톨 하기 전 이 문구를 읽어주십시오" "동의합니다"
         LicenseData "eula.txt"
         InstallDir $PROGRAMFILES\RealVNC\VNC4
         InstallButtonText "설치"
         ShowInstDetails show
         ShowUninstDetails show
          SetOutPath $INSTDIR
          !insertmacro SERVICE "stop" "WinVNC4" ""
          !insertmacro SERVICE "start" "WinVNC4" ""
         [NSIS]
  • NUnit/C++예제 . . . . 12 matches
          5. 메인프로젝트의 속성탭에 가서 Managed C++ Extension을 체크해준다.
         평소대로 하자면 이렇게 하면 될것이다. 하지만 현재 프로젝트는 [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/vcmanagedextensionsspec_16_2.asp Managed C++ Extensions]이다. 이것은 C++을 이용해서 .Net을 Platform위에서 프로그래밍을 하기 위하여 Microsoft에서 C++을 확장한 형태의 문법을 제안된 추가 문법을 정의해 놓았다. 이를 이용해야 NUnit이 C++ 코드에 접근할수 있다. 이경우 NUnit 에서 검증할 클래스에 접근하기 위해 다음과 같이 클래스 앞에 [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/vcmanagedextensionsspec_16_2.asp __gc] 를 붙여서 선언해야 한다.
         __gc의 가 부여하는 능력과 제약 사항에 대해서는 [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/vcmanagedextensionsspec_4.asp __gc] 을 참고하자. NUnit 상에서 테스트의 대상 클래스는 무조건 포인터형으로 접근할수 있다. 이제 테스트 클래스의 내용을 보자.
         [류상민]은 NUnit 과 Unmanged C++의 연결을 완전하게는 하지 못했다. Managed C++프로젝트와 Unmanged C++ 프로젝트 두개를 만들어 Managed C++ 코드에서 NUnit 을 이용해 Unmanaged C++ 에 접근해 테스트 코드를 작성했다. 하지만, .Net Platform에 미숙과, Managed C++ Extension의 몰이해, 프로젝트 관리와 의존성 문제에 봉착해 곧 벽에 부딪쳤다. 이 둘은 혼용할수 없음을 알았다.
         아.. __gc를 쓰면 닷넷 플랫폼없는 곳에서는 쓸 수가 없겠네요. 그러면 이방법은 어떤가요? 일단 테스트할때는 테스트할 클래스에 __gc를 붙이잖아요? 나중에 배포할때는 __gc를 없애는 겁니다. 물론 Managed C++ Extensions의 문법을 쓰면 안되겠죠.(__gc빼고) 매크로를 잘 쓰면 어떻게 될거 같기도 한데... --[인수]
  • OurMajorLangIsCAndCPlusPlus/Class . . . . 12 matches
          const int i;
          X(int ii, const string& n, Date d, Club& c) : i(ii), c(n, d), pc(c) {}
         === const 멤버 함수 ===
          int year() const;
          int month() const;
          int day() const;
         int Date::year() const
         int Date::month() const
         int Date::day() const
          void compute_cache_value() const;
          string string_rep() const;
         string Date::string_rep() const
  • PascalTriangle . . . . 12 matches
         const int pas(const int &m,const int &n)
         unsigned long int P(int row, int col) {
         typedef unsigned long ulong;
         unsigned long PascalTriangle1(int n, int m)
          unsigned long *row[2]; // 2개의 배열의 포인터
          row[0]=new unsigned long[40]; // 최대 40열까지 저장할 수 있도록 메모리 할당
          row[1]=new unsigned long[40];
          unsigned long temp=row[current][m-1];
         unsigned long PascalTriangle2(int n, int m)
          unsigned long x=1,y=1, p;
  • PatternOrientedSoftwareArchitecture . . . . 12 matches
         == 1. Patterns ==
         == 2. Architectual Patterns ==
         || Distributed Systems || Broken Patterns || use in distributed application ||
          * 이해하기 쉽고 유지보수도 하기 쉽게 하기 위해서 유사한 필요한 기능(responsibilities)을 그룹화 한다.
          * 해야할 기능(responsibility)
          * Scenario2 - bottom-up communication, 레이어 1에서 시작하는 연쇄적인 동작들이다. top-down communicatin과 헷갈릴 수도 있는데 top-down communication은 요청(requests)에 의해서 동작하지만, bottom-up communication은 통지(notifications)에 의해서 동작한다. 예를 들어서 우리가 키보드 자판을 치면, 레벨1 키보드에서 최상위 레벨 N에 입력을 받았다고 통지를 한다. bottom-up communicatin에서는 top-down communication과는 반대로 여러개의 bottom-up 통지들(notifications)은 하나의 통지로 압축되어서 상위 레이어로 전달되거나 그대로 전달된다.
          * 구조 : 자신의 시스템을 blackboard(knowledge source들의 집합, control components)라고 불리우는 component로 나누어라. blackboard는 중앙 데이터 저장소이다. solution space와 control data들의 요소들이 여기에 저장된다. 하나의 hypothesis는 보통 여러가지 성질이 있다. 그 성질로는 추상 레벨과 추측되는 가설의 사실 정도 또는 그 가설의 시간 간격(걸리는 시간을 말하는거 같다.)이다. 'part-of'또는'in-support of'와 같이 가설들 사이의 관계를 명확이 하는 것은 보통 유용하다. blackboard 는 3차원 문제 공간으로 볼 수도 있다. X축 - time, Y축 - abstraction, Z축 - alternative solution. knowledge source들은 직접적으로 소통을 하지 않는다. 그들은 단지 blackboard에서 읽고 쓸뿐이다. 그러므로 knowledge source 들은 blackboard 의 vocabulary들을 이해해야 한다. 각 knowledge source들은 condition부분과 action부분으로 나눌 수 있다. condition 부분은 knowledge source가 기여를 할수 있는지 결정하기 위해서 blackboard에 적으면서 현재 solution process 의 상태를 계산한다. action 부분은 blackboard의 내용을 바꿀 수 있는 변화를 일으킨다. control component 는 루프를 돌면서 blackboard에 나타나는 변화를 관찰하고 다음에 어떤 action을 취할지 결정한다. blackboard component는 inspect와 update의 두가지 procedure를 가지고 있다.
          Responsibility : Manages central data
          Responsibility : Evaluates its own applicability, Computes a result, Updates Black board
          Responsibility : Monitors Blackboard, Schedules Knowledge Source activations
  • Slurpys/강인수 . . . . 12 matches
         function HasDorEAtFirst (const S: String): Boolean;
         function HasGAtLast (const S: String; APos: Integer): Boolean;
         function FindF (const S: String): Integer;
         function IsSlump (const S: String): Boolean;
         function IsSlimp (const S: String): Boolean;
         function IsSlurpy (const S: String): Boolean;
         function HasDorEAtFirst (const S: String): Boolean;
         function HasGAtLast (const S: String; APos: Integer): Boolean;
         function FindF (const S: String): Integer;
         function IsSlump (const S: String): Boolean;
         function IsSlimp (const S: String): Boolean;
         function IsSlurpy (const S: String): Boolean;
  • TheGrandDinner/김상섭 . . . . 12 matches
         bool compare_table(const table & a,const table & b)
         bool compare_team_max(const team & a,const team & b)
         bool compare_team_num(const team & a,const team & b)
         bool compare_table(const table & a,const table & b)
         bool compare_team_max(const team & a,const team & b)
         bool compare_team_num(const team & a,const team & b)
  • TowerOfCubes/조현태 . . . . 12 matches
         const char DEBUG_READ[] = "3\n1 2 2 2 1 2\n3 3 3 3 3 3\n3 2 1 1 1 1\n10\n1 5 10 3 6 5\n2 6 7 3 6 9\n5 7 3 2 1 9\n1 3 3 5 8 10\n6 6 2 2 4 4\n1 2 3 4 5 6\n10 9 8 7 6 5\n6 1 2 3 4 7\n1 2 3 3 2 1\n3 2 1 1 2 3\n0";
         const int BOX_FACE_NUMBER = 6;
         const char FACE_NAME[BOX_FACE_NUMBER][7] = {"front", "back", "left", "right", "top", "bottom"};
         const int FRONT = 0;
         const int BACK = 1;
         const int LEFT = 2;
         const int RIGHT = 3;
         const int TOP = 4;
         const int BOTTOM = 5;
         const char* AddBox(const char* readData, vector<SMyBox*>& myBoxs)
          const char* readData = DEBUG_READ;
  • 니젤프림/BuilderPattern . . . . 12 matches
         쉽게 말해서, 아주 복잡한 오브젝트를 생성해야하는데, 그 일을 오브젝트를 원하는 클래스가 하는게 아니라, Builder 에게 시키는 것이다. 그런데 자꾸 나오는 생성/표현 의 의미는, 바로 director 의 존재를 설명해 준다고 할 수 있다. director 는 Building step(construction process) 을 정의하고 concrete builder 는 product 의 구체적인 표현(representation) 을 정의하기에.. 그리고, builder 가 추상적인 인터페이스를 제공하므로 director 는 그것을 이용하는 것이다.
          public void constructPizza() {
          waiter.constructPizza();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          builder.addHotel(first, "Patternsland 5 star Hotel");
          builder.addReservation(first, "Dinner at VERY expensive French restaurant");
          builder.addSpecialEvent(second, "Patterns on Ice");
  • 숫자야구/강희경 . . . . 12 matches
          int answer;
          if(cin >> answer)
          if((answer >100) && (answer < 1000))
          int ans_m[3];
          ans_m[0] = answer % 10;
          ans_m[1] = (answer/10) % 10;
          ans_m[2] = answer/100;
          if(ans_m[i] == num_m[j])
  • 조영준/파스칼삼각형/이전버전 . . . . 12 matches
          Console.WriteLine("삼각형의 크기를 입력하세요 (0 = exit)");
          s = Console.ReadLine(); //삼각형 크기를 입력받음
          Console.WriteLine(e.Message);
          Console.Write(nums[i]);
          Console.Write("\n");
          Console.Write(" ");
          Console.WriteLine("삼각형의 크기를 입력하세요 (0 = exit)");
          s = Console.ReadLine(); //삼각형 크기를 입력받음
          Console.WriteLine(e.Message);
          Console.Write(nums[i]);
          Console.Write("\n");
          Console.Write(" ");
  • ComputerNetworkClass/Report2006/BuildingWebServer . . . . 11 matches
          * [http://www.sockets.com/ Winsock2]
          * [http://www.terms.co.kr/Winsock2.htm 윈속2]
          * [http://msdn.microsoft.com/library/en-us/winsock/winsock/winsock_functions.asp Winsock Functions]
          * [http://www.hal-pc.org/~johnnie2/winsock.html Winsock Tutorial]
          * [http://www.frostbytes.com/~jimf/papers/sockets/winsock.html#Figure_2 Skeleton server ]
  • CppStudy_2002_2/STL과제/성적처리 . . . . 11 matches
          ScoresTable(const string& aStudentName) : _StudentName(aStudentName)
          for(unsigned int i = 0 ; i < _Scores.size() ; ++i)
          const string& getName() const
          int getnthScore(int n) const
          int getTotalScore() const
          double getAverageScore() const
          bool operator()(ScoresTable* stu1, ScoresTable* stu2) const
          bool operator()(ScoresTable* stu1, ScoresTable* stu2) const
          for(unsigned int i = 0 ; i < _StudentList.size() ; ++i)
          for(unsigned int i = 0 ; i < _StudentList.size() ; ++i)
  • Expat . . . . 11 matches
         James Clark released version 1.0 in 1998 while serving as technical lead on the XML Working Group at the World Wide Web Consortium. Clark released two more versions, 1.1 and 1.2, before turning the project over to a group led by Clark Cooper, Fred Drake and Paul Prescod in 2000. The new group released version 1.95.0 in September 2000 and continues to release new versions to incorporate bug fixes and enhancements. Expat is hosted as a SourceForge project. Versions are available for most major operating systems.
         To use the Expat library, programs first register handler functions with Expat. When Expat parses an XML document, it calls the registered handlers as it finds relevant tokens in the input stream. These tokens and their associated handler calls are called events. Typically, programs register handler functions for XML element start or stop events and character events. Expat provides facilities for more sophisticated event handling such as XML Namespace declarations, processing instructions and DTD events.
         MS 진영의 XML 파서는 MSXML SDK 가 가장 많이 쓰이겠지만, 리눅스 계열 혹은 OpenSource 진영에서의 XML 파서는 Expat 이 일통한 듯 보임.
  • Gof/Visitor . . . . 11 matches
         [컴파일러]가 abstact syntax tree로 프로그램을 표현한다고 하자. 컴파일러는 모든 변수들이 정의가 되어있는 지를 검사하는 것과 같은 '정적인 의미' 분석을 위해 abstract syntax tree에 대해 operation을 수행할 필요가 있을 것이다. 컴파일러는 또한 code 변환을 할 필요가 있다. 또한 컴파일러는 type-checking, code optimization, flow analysis 와 해당 변수가 이용되기 전 선언되었는지 등의 여부를 검사하기 위해서 해당 operations들을 수행할 필요가 있다. 더 나아가 우리는 pretty-printing, program restructuring, code instrumentation, 그리고 프로그램의 다양한 기준들에 대한 계산을 하기 위해 abstract syntax tree를 이용할 것이다.
         이러한 operations들의 대부분들은 [variable]들이나 [arithmetic expression]들을 표현하는 node들과 다르게 [assignment statement]들을 표현하는 node를 취급할 필요가 있다. 따라서, 각각 assignment statement 를 위한 클래스와, variable 에 접근 하기 위한 클래스, arithmetic expression을 위한 클래스들이 있어야 할 것이다. 이러한 node class들은 컴파일 될 언어에 의존적이며, 또한 주어진 언어를 위해 바뀌지 않는다.
          - declares a Visit operations for each class of ConcreteElement in the object structure. The operation's name and signature identifies the class that sends the Visit request to the visitor. That lets the visitor determine the concrete class of the element being visited. Then the visitor can access the element directly through its particular interface.
         == Collaborations ==
         == Consequences ==
          Item CurrentItem () const;
          const char* Name () { return _name; }
          Equipment (const char*);
          const char* _name;
         == Related Patterns ==
  • JTDStudy/첫번째과제/상욱 . . . . 11 matches
         def Answer():
          answer = str(randint(START,END))
          if len(set(answer)) == LENGTH: return answer
         def Compare(answer,question):
          if question[idx] == answer[idx]:strike += 1
          elif i in answer: ball +=1
         answer=Answer()
         print answer
          sbo = Compare(answer,Question())
  • KDPProject . . . . 11 matches
          * ["디자인패턴"] - OpeningStatement. 처음 DesignPatterns 에 대해 공부하기 전에 숙지해봅시다. 순서는 ["LearningGuideToDesignPatterns"]
          *["DPSCChapter3"] - Creational Patterns - Abstract factory 진행.
          *["DPSCChapter4"] - Structural Patterns - catalog 까지 진행.
          *["DPSCChapter5"] - Behavioral Patterns - 진행된것 아직 없음.
          *["HowToStudyDesignPatterns"] - DP 를 공부하기 전에 생각해볼 수 있는 이야기들.
          * http://www.patterndepot.com/put/8/JavaPatterns.htm - Java Design Pattern 원서
          * http://www.cs.hut.fi/~kny/patterns/ - MFC에서의 Design Pattern
          * http://pocom.konkuk.ac.kr/design_patterns/ - JDP 한글 요약 사이트. 추천.~
          * http://www.antipatterns.com - anti pattern 홈페이지
          * http://www.artima.com/javaseminars/modules/DesPatterns/
  • ProjectPrometheus/CookBook . . . . 11 matches
          protected void doGet(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException {
          httpServletResponse.setContentType("text/html; charset=euc-kr");
          PrintWriter out = httpServletResponse.getWriter();
          HttpServletResponse response)
          //super.service(request, response);
          response.setContentType("text/html; charset=euc-kr");
          <init-param max-connections="20"/>
          <init-param enable-transaction="false"/>
         httpd -install
  • StringOfCPlusPlus/상협 . . . . 11 matches
          void lenstr() {while(st[n]!='\0') n++;}//문자열의 길이를 n값으로 저장
          String(const char *in_st);
          int nval() const {return n;}//문자열 길이를 알려줌.
          String operator+(const String &s) const;
         String::String(const char *in_st)
          lenstr();
         /*String::strlen() const
          lenstr();
         String String::operator +(const String &s) const
  • UML/CaseTool . . . . 11 matches
         ''Diagramming'' in this context means ''creating'' and ''editing'' UML [[diagram]]s; that is diagrams that follow the graphical notation of the Unified Modeling Language.
         The UML diagram notation evolved from elderly, previously competing notations. UML diagrams as a means to draw diagrams of - mostly - [[Object-oriented programming|object oriented]] software is less debated among software developers. If developers draw diagrams of object oriented software, there is widespread consensus ''to use the UML notation'' for that task. On the other hand, it is debated, whether those diagrams are needed at all, on what stage(s) of the software development process they should be used and whether and how (if at all) they should be kept up-to date, facing continuously evolving program code.
         ''[[Code generation]]'' in this context means, that the user creates UML diagrams, which have some connoted model data, from which the UML tool derives (through a conversion process) parts or all of the [[source code]] for the software system that is to be developed. Often, the user can provide some skeleton of the program source code, in the form of a source code [[template]] where predefined tokens are then replaced with program source code parts, emitted by the UML tool during the code generation process.
         ''Reverse engineering'' in this context means, that the UML tool reads program source code as input and ''derives'' model data and corresponding graphical UML diagrams from it (as opposed to the somewhat broader meaning described in the article "[[Reverse engineering]]").
         Reverse engineering encloses the problematic, that diagram data is normally not contained with the program source, such that the UML tool, at least in the initial step, has to create some ''random layout'' of the graphical symbols of the UML notation or use some automatic ''layout algorithm'' to place the symbols in a way that the user can understand the diagram. For example, the symbols should be placed at such locations on the drawing pane that they don't overlap. Usually, the user of such a functionality of an UML tool has to manually edit those automatically generated diagrams to attain some meaningfulness. It also often doesn't make sense to draw diagrams of the whole program source, as that represents just too much detail to be of interest at the level of the UML diagrams. There are also language features of some [[programming language]]s, like ''class-'' or ''function templates'' of the programming language [[C plus plus|C++]], which are notoriously hard to convert automatically to UML diagrams in their full complexity.
         This means that the user should be able to change either the ''model data'' (together with the corresponding diagrams) or the ''program source code'' and then the UML tool updates the other part automatically.
  • VonNeumannAirport/1002 . . . . 11 matches
         #include <cppunit/extensions/HelperMacros.h>
         #include <cppunit/extensions/HelperMacros.h>
         #include <cppunit/extensions/HelperMacros.h>
          for (int i=0;i< this->configurations.size();i++) {
          this->configurations[i]->movePeople(startCity, endCity, people);
          vector<Configuration*> configurations = airport->getSortedResult ();
          CPPUNIT_ASSERT_EQUAL (119, configurations[0]->getTraffic());
          CPPUNIT_ASSERT_EQUAL (122, configurations[1]->getTraffic());
  • WhatToExpectFromDesignPatterns . . . . 11 matches
         디자인 패턴을 공부하여 어떻게 써먹을 것인가. - DesignPatterns 의 Chapter 6 Conclusion 중.
         DesignPatterns provide a common vocabulary for designers to use to communicate, document, and explore design alternatives.
         Learning these DesignPatterns will help you understand existing object-oriented system.
         Describing a system in terms of the DesignPatterns that it uses will make it a lot easier to understand.
         DesignPatterns are an important piece that's been missing from object-oriented design methods. (primitive techniques, applicability, consequences, implementations ...)
         DesignPatterns capture many of the structures that result from refactoring. Using these patterns early in the life of a design prevents later refactorings. But even if you don't see how to apply a pattern until after you've built your system, the pattern can still show you how to change it. Design patterns thus provide targets for your refactorings.
         ["DesignPatterns"]
  • WinampPluginProgramming/DSP . . . . 11 matches
         // Feel free to base any plugins on this "framework"...
         BOOL WINAPI _DllMainCRTStartup(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
          NULL, // hDllInstance
          NULL, // hDllInstance
          NULL, // hDllInstance
          NULL, // hDllInstance
          NULL, // hDllInstance
         // this is the only exported symbol. returns our main header.
         // getmodule routine from the main header. Returns NULL if an invalid module was requested,
         // otherwise returns either mod1 or mod2 depending on 'which'.
          ShowWindow((pitch_control_hwnd=CreateDialog(this_mod->hDllInstance,MAKEINTRESOURCE(IDD_DIALOG1),this_mod->hwndParent,pitchProc)),SW_SHOW);
  • 논문번역/2012년스터디/김태진 . . . . 11 matches
         완전한 영어 문장들로 학습/인식을 위한 데이터를 제공했는데, 각각은 Lancaster-Oslo/Bergen corpus에 기초한다. 글쓴이에 상관없는 형태와 마찬가지로 다수의 저자에 의한 실험은 the Institute of Informatics and Applied Mathe- matics (IAM)에서 수집한 손글씨 형태를 사용했다. 전체 데이터는 다양한 텍스트 영역들을 가지고 있고,500명보다 많은 글쓴이들이 쓴 1200개보다 많은 글씨를 가지고 있다. 우리는 250명의 글쓴이가 쓴 글쓴이-독립적인 실험에서 만들어진 카테고리들의 형태를 사용하고, 6명의 글쓴이가 쓴 c03 형태로 여러 글쓴이 모드를 적용해본다.
          더 많은 문서 작업을 위해, 개인의 손글씨 각 줄들을 추출했다. 이것은 글씨들을 핵심 위치들 사이로 이미지를 쪼개는 것으로 할 수 있었다. 핵심 위치란, 글씨의 아래위 선사이의 영역과 같은 것인데, 핵심 위치에 존재하는 줄에서 필요한 전체 픽셀들의 최소 갯수를 말하는 한계점을 응용하여(?)찾을 수 있다. 이러한 한계점은 2진화된 손글씨 영역에 대한 수직적인 밀집 히스토그램(the horizontal density histogram of the binarized handwriting-area)을 사용한 Otsu method를 사용하여 자동적으로 만들 수 있다. 검은색 픽셀들의 갯수는 수평적 투영 히스토그램에 각각의 줄을 합한 갯수이고, 그 이미지는 이 히스토그램의 최소화를 따라 핵심 위치들 사이로 조각 내었다.
          글쓰는 스타일이 때로 한줄 내에서 중요하게(?) 바뀐다는 관측에 고무되어서, 우리는 각 손글씨 줄들을 각각 수직적인 위치, 기울어짐, slant에서 수정했다. 그래서 각각의 줄은 문서의 부분 사이에 공백으로 찾아 쪼개었다. 한계점은 일반화 요소들을 통했을때에 계산하기에 너무 짧은 부분들을 피하기 위해 사용했다. 반면에 수직적인 위치와 기울어진 것은 [15]에서 묘사된 방법과 비슷한 선형적 regresion?을 사용한 기준선 추정 방법으로 고쳤고, slant 각도에 대한 계산은 모서리의 방향에 기초하여 고쳤다. 그렇게 이미지를 이진화했고 수직적인 변화를 추출하여 consid- ering that only vertical strokes are decisive for slant estima- tion. Canny 모서리 감지는 각 히스토그램에서 계산된 모서리 방향 데이터를 얻기위해 사용했다. 그 히스토그램의 의미는 slant 각도를 사용하는 것이다.
         == Linear Algebra and its applications ==
         Linear Independence of Matrix Columns 행렬 행에 대한 선형 독립성
         == 1.8 Linear Transformations ==
         Matrix Transformations 행렬 변환
         Linear Transformations 선형 변환
  • 2학기파이선스터디/서버 . . . . 10 matches
          def __contains__(self, name): # in 연산자 메쏘드
          print len(self.users), 'connections' # 서버에 표시되는 메시지
          print len(self.users), 'connections' # 서버에 표시되는 메시지
         # def __contains__(self, name): # in 연산자 메쏘드
          print len(Users), 'connections' # 서버에 표시되는 메시지
          print len(Users), 'connections' # 서버에 표시되는 메시지
          def __contains__(self, name): # in 연산자 메쏘드
          print len(self.users), 'connections' # 서버에 표시되는 메시지
          print len(self.users), 'connections' # 서버에 표시되는 메시지
          self.show.insert(END, "< " + str(aUser.ID) + " > : " + str(aUser.message))
  • CPPStudy_2005_1/STL성적처리_2 . . . . 10 matches
         vector<string> tokenize(const string& line);
         double total(const vector<int>&);
          const map< string, vector<int> >,
          double accu(const vector<int>&) = total);
         vector<string> tokenize(const string& line) {
         double total(const vector<int>& grades) {
          const map< string, vector<int> > record,
          double accu(const vector<int>&)) {
          for(map< string, vector<int> >::const_iterator iter = record.begin();
          for(vector<int>::const_iterator grades = (iter->second).begin();
  • CarmichaelNumbers/문보창 . . . . 10 matches
         const int NORMAL = 1;
         const int CARMICHAEL = 2;
         int findModulo(unsigned int a, unsigned int n);
         int findModulo(unsigned int a, unsigned int n)
          unsigned int modN = n;
          unsigned int expo = 2;
          unsigned int mod = (a * a) % n;
          unsigned int modulo = 1;
  • ErdosNumbers/문보창 . . . . 10 matches
         const int MAX_STR = 20;
         const int MAX_ERNUM = 100;
         void insert_list(char * name);
          bool * isInserted = new bool[num];
          isInserted[i] = 0;
          isInserted[i] = 1;
          if (isInserted[i] == false) // 아직 추가되지 않았다면 추가
          insert_list(name[i]);
          delete [] isInserted;
         void insert_list(char * name)
  • LinkedList/C숙제예제 . . . . 10 matches
          List *pList,*pNew,*pIns;
          pIns=(List *)malloc(sizeof(List));
          pIns->num=3;
          pIns->prev=pList;
          pIns->next=pNew;
          pList->next=pIns;
          pNew->prev=pIns;
          printf("pIns삽입시\n");
          free(pIns);
          printf("pIns 삭제시\n");
  • Linux/RegularExpression . . . . 10 matches
         = Mastering Regular Expressions, 2nd Edition =
         == Ch1 Introduction to Regular Expressions ==
         int ereg(string givenPattern, string givenString, array matched);
         - givenString을 "string1stringAstring2stringBstring3 ... string9stringI" 로 주어져 있다고 하자. 이때 stringA, stringB, ... , stringI는 NULL 이어도 상관이 없다(즉 givenString은 "string1string2string3 ... string9" 인 경우임).
         - givenString이 위와 같이 주어진 경우,
         - ereg는 case sensitive
         - eregi는 case insensitive
         int eregi(string givenPattern, string givenString, array matched);
         - ereg의 'case insensitive' 버젼
         string ereg_replace(string givenPattern, string replacementPattern, string givenString);
         - givenString에서 givenPattern에 부합하는 텍스트(matched text)를 찾아서,
         - givenPattern이 "(패턴)"으로 묶인 문자열들을 포함하고 있으면, replacementPattern에는 이에 대응하는 "\\digit(문자열)" 형태의 문자열들을 포함하고 있어야 한다(digit는 0, 1, ... ,9 중 하나). 그리고 givenString은 "(패턴)"을 이용해 찾은 결과들을 "\\digit(문자열)"에 있는 "문자열"들로 대체하게 된다. "\\0" 는 givenString 전체에 대해 "(패턴)"의 결과를 적용할 때 이용된다.
         - case sensitive
         string eregi_replace(string givenPattern, string replacementPattern, string givenString);
         - ereg_replace의 'case insensitive' 버젼
  • Marbles/신재동 . . . . 10 matches
         const int MAX_NUMBER = 1000;
         unsigned int testCase = 0;
         unsigned int marbles[MAX_NUMBER] = {0,};
         unsigned int c1[MAX_NUMBER] = {0,};
         unsigned int n1[MAX_NUMBER] = {0,};
         unsigned int c2[MAX_NUMBER] = {0,};
         unsigned int n2[MAX_NUMBER] = {0,};
         unsigned int m1[MAX_NUMBER] = {MAX_NUMBER,};
         unsigned int m2[MAX_NUMBER] = {MAX_NUMBER,};
          for(unsigned int i = 0; i < testCase; i++)
  • OOP . . . . 10 matches
         3. Every object has it's own memory, which consists of other objects.
         4. Every object is an instance of a class. A class groups similar objects.
         ”Emphasis from verbs to nouns
         Program consists of objects interacting with eachother Objects provide services.
          * [Instance]
          * [Virtual functions]
         Responsibily area should be simple and compact
         All actions should be delegated to objects
         Don’t mix responsibilities
         Keep responsibily areas as general as possible to garantie reuse.
  • OptimizeCompile . . . . 10 matches
         프로그램(translation unit)은 진행방향이 분기에 의해 변하지 않는 부분의 집합인 basic block 들로 나눌 수 있는데 이 각각의 block 에 대하여 최적화 하는 것을 local optimization 이라 하고, 둘 이상의 block 에 대하여, 혹은 프로그램 전체를 총괄하는 부분에 대하여 최적화 하는 것을 global optimization 이라고 한다.
         '''Constant propagation'''
         변수가 값을 할당 받아서, 다시 새로운 값으로 할당 받기 전까지, 그 변수는 일종의 constant 라고 볼 수 있다. 컴파일러는 이를 감지해서 최적화를 수행하게 된다.
         ''' Constant folding'''
         연산에서 두개 이상의 constant 들은, 미리 계산되어 하나의 constant 값으로 바꿀 수 있다. 위의 예에 적용하자면
         컴파일러는 constant propagation 과 constant folding 을 반복하여 수행한다. 각각 서로의 가능성을 만들어 줄 수 있으므로, 더이상 진행 할 수 없을 때까지 진행한다.
         ==== Reduction of space consumption ====
         e.g. instruction prefetching, branch prediction, out-of-order execution
  • ProjectZephyrus/Thread . . . . 10 matches
          [http://javaservice.net/~java/bbs/read.cgi?m=devtip&b=servlet&c=r_p&n=973389459&k=고려사항&d=t#973389459 JDBC 연동시 코딩고려사항(Transaction처리) - 제3탄-] [[BR]]
          static synchronized public SocketManager getInstance() {
          if (instance == null) {
          instance = new SocketManager();
          return instance;
          public static SocketManager getInstance() {
          if (instance == null) {
          if (instance == null) {
          instance = new SocketManager();
          return instance;
  • ReadySet 번역처음화면 . . . . 10 matches
         Software development projects require a lot of "paperwork" in the form of requirements documents, design documents, test plans, schedules, checklists, release notes, etc. It seems that everyone creates the documents from a blank page, from the documents used on their last project, or from one of a handful of high-priced proprietary software engineering template libraries. For those of us who start from a blank page, it can be a lot of work and it is easy to forget important parts. That is not a very reliable basis for professional engineering projects.
         This is an open source project that you are welcome to use for free and help make better. Existing packages of software engineering templates are highly costly and biased by the authorship of only a few people, by vendor-client relationships, or by the set of tools offered by a particular vendor.
         We will build templates for common software engineering documents inspired by our own exprience.
          '''*What are the high-level assumptions or ground rules for the project?'''
         I assume that the user takes ultimate responsibility for the content of all their actual project documents. The templates are merely starting points and low-level guidance.
          *Follow instructions that appead in yellow "sticky notes"
          *8. Optionally, you may change fonts and colors in the file css/inst.css.
          *9. If you have questions or insights about a templates, please read the FAQ or send an email to dev@readyset.tigris.org. You must subscribe to the mailing list before you may post.
  • ReleasePlanning . . . . 10 matches
         A release planning meeting is used to create a release plan, which lays out the overall project. The release plan is then used to create iteration plans for each individual iteration.
         It is important for technical people to make the technical decisions and business people to make the business decisions. Release planning has a set of rules that allows everyone involved with the project to make their own decisions. The rules define a method to negotiate a schedule everyone can commit to.
         of stories to be implemented as the first (or next) release. A useable, testable system that makes good business sense delivered early is desired.You may plan by time or by scope. The project velocity is used to determine either how many stories can be implemented before a given date (time) or how long a set of stories will take to finish (scope). When planning by time multiply the number of iterations by the project velocity to determine how many user stories can be completed. When planning by scope divide the total weeks of estimated user stories by the project velocity to determine how many iterations till the release is ready.
          Individual iterations are planned in detail just before each iteration begins and not in advance. The release planning meeting was called the planning game and the rules can be found at the Portland Pattern Repository.
         When the final release plan is created and is displeasing to management it is tempting to just change the estimates for the user stories. You must not do this. The estimates are valid and will be required as-is during the iteration planning meetings. Underestimating now will cause problems later. Instead negotiate an acceptable release plan. Negotiate until the developers, customers, and managers can all agree to the release plan.
  • ScheduledWalk/석천 . . . . 10 matches
         const int MAX_JOURNEY_LENGTH = 1000;
         const int MAX_JOURNEY_LENGTH = 1000;
         typedef unsigned int UINT;
         const int MAX_JOURNEY_LENGTH = 1000;
         typedef unsigned int UINT;
         const int MAX_JOURNEY_LENGTH = 1000;
         typedef unsigned int UINT;
         const int MAX_JOURNEY_LENGTH = 1000;
         typedef unsigned int UINT;
         const int MAX_JOURNEY_LENGTH = 1000;
  • TheJavaMan/달력 . . . . 10 matches
          tfYear.setText(String.valueOf(Calendar.getInstance().get(Calendar.YEAR)));
          cbMonth.setSelectedIndex(Calendar.getInstance().get(Calendar.MONTH));
          showPanel.add(new JLabel("일", SwingConstants.CENTER));
          showPanel.add(new JLabel("월", SwingConstants.CENTER));
          showPanel.add(new JLabel("화", SwingConstants.CENTER));
          showPanel.add(new JLabel("수", SwingConstants.CENTER));
          showPanel.add(new JLabel("목", SwingConstants.CENTER));
          showPanel.add(new JLabel("금", SwingConstants.CENTER));
          showPanel.add(new JLabel("토", SwingConstants.CENTER));
          showPanel.add(new JLabel(String.valueOf(i + 1), SwingConstants.CENTER));
  • TheTrip/Leonardong . . . . 10 matches
          def offerAShareOfMoney(self, aExpenses):
          expensesBiggerThanMean = self.getListOfBiggerThan(
          self.getMeanOfList(aExpenses),
          aExpenses)
          for each in expensesBiggerThanMean:
          result = result + abs( each - self.getMeanOfList(aExpenses) )
          expenses = [0.0, 1.0, 2.0, 3.0]
          mean = self.ex.getMeanOfList(expenses) # mean is 1.5
          expected = expenses[2:]
          self.ex.getListOfBiggerThan( mean, expenses ))
  • UbuntuLinux . . . . 10 matches
          Options Indexes MultiViews
         [http://dev.mysql.com/doc/refman/5.0/en/installing-binary.html MySQL binary install]
         must install jdk or jre
         = Installing custom init-scripts =
         To install your own script, copy it to /etc/init.d, and make it executable.
          * 우분투를 깔면 gcc가 처음부터 깔려 있지는 않다. 그래서 sudo apt-get install gcc 해서 gcc 를 받고 간단한 것을 컴파일 하면 기본적인 라이브러리들이 없다면서 컴파일이 안된다. 이때 g++ 도 위와 같은 방식으로 깔면 문제는 해결된다.
         http://www.ubuntu.or.kr/wiki.php/InstallingInputMethods#s-1.3
         http://www.tatanka.com.br/ies4linux/page/Installation:Ubuntu
         http://www.xfree86.org/4.6.0/Install3.html#3
  • [Lovely]boy^_^/EnglishGrammer/Passive . . . . 10 matches
          active) Somebody cleans this room every day.
          D. Get : Sometimes you can use get instead of be in the passive:
          You can use get to say that something happens to somebody or something, especially if this is unplanned or unexpected.
          We use get mainly in informal spoken English. You can use be in all situations.(항상 be 쓸수있단다. 고로 귀찮은 get쓰지말자... 클래스에서 get 보는것도 지겨운데..--;)
          ex) thought, believed, considered, reported, known, expected, alleged, understood
          = it is planned, arranged, or expected. Often this is different from what really happens
          This means : Lisa arranged for somebody else to repair the roof. She didn't repair it herself.
          means : All their money was stolen from them.
          With this meaning, we use have something done to say that something happens to somebody or their belongings. Usually what happens is not nice.
  • [Lovely]boy^_^/USACO/PrimePalinDromes . . . . 10 matches
         bool IsPrime(const int& n);
         bool IsPalinDromes(const string& str);
         void OutputResult(const int& n, const int& m);
         void FillPrimeList(const int& n, const int& m);
         void OutputResult(const int& min, const int& max)
         bool IsPalinDromes(const string& str)
         bool IsPrime(const int& n)
  • 스터디/Nand 2 Tetris . . . . 10 matches
          2개의 Instruction을 지원한다. 각 Instruction은 2Byte이다.
          * A-Instruction : @value // Where value is either a non-negative decimal number or a symbol referring to such number.
          * C-Instruction : dest=comp;jump // Either the dest or jump fields may be empty.
          * A-instruction 을 사용하면, value는 A에 들어간다.
          Memory (data + instruction) + CPU(ALU + Registers + Control) + Input device & Output device
          The instruction memory and the data memory are physically separate
          Screen: 512 rows by 256 columns, black and white
          * Instruction memory(ROM)
          instruction = ROM32K[address]
  • 오목/곽세환,조재화 . . . . 10 matches
         // Operations
          virtual void AssertValid() const;
          virtual void Dump(CDumpContext& dc) const;
         // Generated message map functions
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // COhbokView construction/destruction
          // TODO: add construction code here
         void COhbokView::AssertValid() const
         void COhbokView::Dump(CDumpContext& dc) const
  • 오목/민수민 . . . . 10 matches
         // Operations
          virtual void AssertValid() const;
          virtual void Dump(CDumpContext& dc) const;
         // Generated message map functions
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // CSampleView construction/destruction
          // TODO: add construction code here
         void CSampleView::AssertValid() const
         void CSampleView::Dump(CDumpContext& dc) const
  • 오목/재선,동일 . . . . 10 matches
         // Operations
          virtual void AssertValid() const;
          virtual void Dump(CDumpContext& dc) const;
         // Generated message map functions
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // CSingleView construction/destruction
          // TODO: add construction code here
         void CSingleView::AssertValid() const
         void CSingleView::Dump(CDumpContext& dc) const
  • 오목/진훈,원명 . . . . 10 matches
         // Operations
          virtual void AssertValid() const;
          virtual void Dump(CDumpContext& dc) const;
         // Generated message map functions
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // COmokView construction/destruction
          // TODO: add construction code here
         void COmokView::AssertValid() const
         void COmokView::Dump(CDumpContext& dc) const
  • 임시 . . . . 10 matches
         Teens: 28
         '''WinSock'''
         In the first stage, you will write a multi-threaded server that simply displays the contents of the HTTP request message that it receives. After this program is running properly, you will add the code required to generate an appropriate response.
         API Reference - Response Groups - Request, Small, Medium, Large, Image, ...
         This section explains how to use REST (Representational State Transfer) to make requests through Amazon E-Commerce Service (ECS). REST is a Web services protocol that was created by Roy Fielding in his Ph.D. thesis (see Architectural Styles and the Design of Network-based Software Architectures for more details about REST).
         REST allows you to make calls to ECS by passing parameter keys and values in a URL (Uniform Resource Locator). ECS returns its response in XML (Extensible Markup Language) format. You can experiment with ECS requests and responses using nothing more than a Web browser that is capable of displaying XML documents. Simply enter the REST URL into the browser's address bar, and the browser displays the raw XML response.
  • 토이/메일주소셀렉터/김정현 . . . . 10 matches
          io.insertDeleteList(deleteList);
          io.insertSpace(true);
          private boolean shouldInsertSpace;
          shouldInsertSpace= false;
          public void insertDeleteList(String[] deleteList) {
          if(shouldInsertSpace) {
          public void insertSpace(boolean shouldInsertSpace) {
          this.shouldInsertSpace= shouldInsertSpace;
  • .vimrc . . . . 9 matches
         set bs=2 " allow backspacing over everything in insert mode
         au BufNewFile *.cpp call InsertSkeleton()
         au BufNewFile *.h call InsertHeaderSkeleton()
         function! InsertSkeleton()
          call InsertInclude()
         function! InsertHeaderSkeleton()
          call InsertFname()
         function! InsertInclude()
         function! InsertFname()
  • API/WindowsAPI . . . . 9 matches
         HINSTANCE g_hInst;
         int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance
          g_hInst=hInstance;
          WndClass.hInstance=hInstance;
          NULL,(HMENU)NULL,hInstance,NULL);
          TranslateMessage(&Message);
  • AcceleratedC++/Chapter5 . . . . 9 matches
         bool fgrade(const Student_info& s)
         for(vector<Student_info>::const_iterator i = students.begin() ; i != students.end() ; ++i)
          * const_iterator : 값을 변경시키지 않고 순회할때
          * 필요에 따라 iterator에서 const_iterator로 캐스팅된다. 반대는 안된다.
          === 5.2.2 Iterator Operations ===
          == 5.3 Using iterators instead of indices ==
          * 아까는 const였는데 이번엔 왜 아니냐고? 컨테이너 안에 있는 것을 지우지 않는가. 즉 변형시킨다는 것이다.
         for(vector<string>::const_iterator i = bottom.begin(); i != bottom.end(); ++i)
         ret.insert(ret.end(), bottom.begin(), bottom.end());
  • Celfin's ACM training . . . . 9 matches
         || 12 || 12 || 111201/10161 || Ant on a Chessboard || 40 mins || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4209&title=AntOnAChessboard/하기웅&login=processing&id=&redirect=yes Ant on a Chessboard/Celfin] ||
         || 13 || 12 || 111204/10182 || Bee Maja || 30 mins || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4235&title=BeeMaja/하기웅&login=processing&id=&redirect=yes Bee Maja/Celfin] ||
         || 17 || 13 || 111306/10215 || The Largest/Smallest Box || 40 mins || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4264&title=TheLagestSmallestBox/하기웅&login=processing&id=&redirect=yes TheLargestSmallestBox/Celfin] ||
         || 21 || 2 || 110201/10038 || Jolly Jumpers || 30 mins || [JollyJumpers/Celfin] ||
         || 22 || 13 || 111305/10167 || Birthday Cake || 1hour 30 mins || [http://zeropage.org/zero/index.php?title=BirthdatCake%2FCelfin&url=zeropage BirthdayCake/Celfin] ||
         || 23 || 3 || 110301/10082 || WERTYU || 30 mins || [WERTYU/Celfin] ||
         || 25 || 2 || 110203/10050 || Hartal || 30 mins || [Hartal/Celfin] ||
         || 27 || 5 || 110501/10035 || Primary Arithmatic || 30 mins || [PrimaryArithmatic/Celfin] ||
         || 30 || 3 || 110302/10010 || Where's Waldorf? || 1 hour 30 mins || [WheresWaldorf/Celfin] ||
  • CompleteTreeLabeling/조현태 . . . . 9 matches
          int degree, deep, number_nodes, answer_number;
          process_block(&answer_number, 0, number_nodes, degree, deep, line);
          printf("결과 : %dn",answer_number);
         unsigned _int64 answer_number;
          printf("결과 : %u\n",answer_number);
          unsigned _int64 result_number=1;
          unsigned _int64 new_result=0;
          answer_number+=result_number;
  • CppStudy_2002_1/과제1/상협 . . . . 9 matches
         void show(const stringy in, int iteration=1);
         void show(const char in[], int iteration=1);
         void show(const stringy in, int iteration)
         void show(const char in[], int iteration)
         const int Len = 40;
         void setgolf(golf &g, const char *name,int hc);
         void showgolf(const golf &g);
         void setgolf(golf &g, const char *name, int hc)
         void showgolf(const golf &g)
  • DebuggingSeminar_2005/AutoExp.dat . . . . 9 matches
         ; elements. The expansion follows the format given by the rules
         ; To find what the debugger considers the type of a variable to
         ; u Unsigned decimal integer 0x0065,u 101
         ; o Unsigned octal integer 0xF065,o 0170145
         ; intrinsics
         ;ANSI C++ Standard Template library
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >=$BUILTIN(NSTDSTRING)
         std::basic_string<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> >=$BUILTIN(WSTDSTRING)
         ; You need to list the error code in unsigned decimal, followed by the message.
  • Eclipse . . . . 9 matches
          * Erich Gamma (DesignPatterns 공동저자) 라는 이름이 눈에 뜨이네요.
          * [http://eclipse-plugins.2y.net/eclipse/plugins.jsp 플러그인 사이트]
          * http://eclipsians.net/index.php
          * Eclipse를 설치할때 JRE를 Eclipse가 못찾아서 실행 되지 않는 경우가 있다. 특히 학교의 Win98에서 이러하다. 이럴 경우 '''Eclipse 폴더 내에 jdk1.4이상의 jre폴더를 복사'''하면 Install Complete라는 이미지와 함께 Eclipse가 세팅되고 실행 된다. 이후 해당 Eclipse의 실행 포인트 역시 jre의 vm이 되는데,
          * 외부 {{{~cpp JavaDoc}}} ''Preferences -> Java -> Installed JREs -> Javadoc URL''
          * 결론이 말이지. consortium에 이렇게 정의 되어 있다는.. 아 영어여...그리고 아예 Subproject에 Platform, JDT, PDE로 나누어 있구만. 부지런한 사람들 --상민
          혹시 그 큰 규모라는 것이 어느정도 인지 알수 있을까요? 라인을 쉽게 세기 위해서 현 Eclipse를 새로 하나 복사해서 Eclipse용 metric 툴은 http://metrics.sourceforge.net/ 를 설치하시고 metric전용으로 사용하여 쓰면 공정-'Only counts non-blank and non-comment lines inside method bodies'-하게 세어줍니다. (구지 복사하는 이유는 부하를 많이 줍니다.) -- NeoCoin
         SeeAlso [http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/eclipse-project-home/plans/3_0/freeze_plan.html Eclipse 3.0 endgame plan]
  • Gof/Mediator . . . . 9 matches
         MediatorPattern은 객체들의 어느 집합들이 interaction하는 방법을 encapsulate하는 객체를 정의한다. Mediator는 객체들을 서로에게 명시적으로 조회하는 것을 막음으로서 loose coupling을 촉진하며, 그래서 Mediator는 여러분에게 객체들의 interactions들이 독립적으로 다양하게 해준다.
         비록 하나의 시스템에 많은 객체들이 참여하는 것이 일반적으로 재사용성을 강화할지라도 interconnections이 늘어나는 것은 재사용성을 감소시키려는 경향이 있다. 너무나 많은 객체간의 상호 연결들은 객체들의 독립성을 떨어뜨릴 수 있다. - 그런 시스템은 마치 완전히 통일된 것 같이 행동한다.
         == Collaborations ==
         == Consequences ==
          virtual const char* GetSelection();
          virtual void SetText(const char* text);
          virtual const char* GetText();
          virtual void SetText(const char* text);
         == Related Patterns ==
  • HowManyZerosAndDigits/허아영 . . . . 9 matches
         2006-01-15 04:52:22 Wrong Answer 0.037 Minimum
         unsigned int factorial(const unsigned int &num)
          unsigned int n = 1, factorialN = 1;
         unsigned int main()
          unsigned int N, B;
          unsigned int factorialN = 0;
          unsigned int zeroCount = 0, numCount = 0;
  • NSISIde . . . . 9 matches
          * 주제 : NSIS IDE
          * 목표 : NSIS 와 연동하여 간단한 NSIS Script 작성과 관련한 IDE 환경을 구축한다.
         특별한 녀석은 아니고. -_-; NSIS 스크립트를 작성하다가 에디터 에서 스크립트 작성하고 command 창에서 스크립트 컴파일 하고 만들어진 인스톨러 실행하다가 갑자기 생각이 나서라는. --;
         그냥 Editplus 에서 makensis 을 연결해서 써도 상관없지만, 만일 직접 만든다면 어떻게 해야 할까 하는 생각에.. 그냥 하루 날잡아서 날림 플밍 해봤다는. --; (이 프로젝트는 ["NSIS_Start"] 의 subproject로, ["NSIS_Start"] 가 끝나면 자동소멸시킵니다. ^^;)
          * .nsi 스크립트를 load/save 할 수 있다.
          * .nsi 스크립트를 읽어서 편집할 수 있다.
          * .nsi 스크립트를 직접 컴파일해서 실행화일로 만들 수 있다. 컴파일 과정이 output 창에 표시된다.
          * .nsi 스크립트를 load/save 할 수 있다.
          * .nsi 스크립트를 읽어서 편집할 수 있다.
          * .nsi 스크립트를 직접 컴파일해서 실행화일로 만들 수 있다. 컴파일 과정이 output 창에 표시된다.
         || CInnerProcess Class 의 이용. 약간 수정. makensis 이용. || 0.5 ||
          CInnerProcess Class 이용, Nsis 연결하기 - 0.5
          - NsisProcess 는 어디에 속해 있는 녀석인가? -_-a
          - NsisProcess 이벤트 발생시엔 누가 어떻게 통지받아서 Output에 찍어주나?
          -> Nsis Execute 뒤에 바로 Output 을 뿌려주면 됨.
          * CDocument::OnFileSave -> CDocument::DoSave -> CNIDoc::OnSaveDocument
          * CDocument::OnFileSaveAs -> CDocument::DoSave -> CNIDoc::OnSaveDocument
          * CFrameWnd::OnClose -> CWndApp::SaveAllModified -> CDocManager::SaveAllModified -> CDocTemplate::SaveAllModified -> CDocument::SaveModified -> CDocument::DoFileSave -> CDocument::DoSave -> CNIDoc::OnSaveDocument
          * 프로그램 실행중 다른 Process 띄우고 결과 스트링 얻어오기 (Console Util)
         http://zeropage.org/~reset/zb/data/NSISIDE_output.gif
  • PragmaticVersionControlWithCVS/Getting Started . . . . 9 matches
         == Installing CVS ==
         CVS서버 설치는 알아서 잘해라. -_-; 리눅스에서는 패키지로 설치하면 되고, 윈도우에서는 알아서 받아서 설치하면 된다. 이미 서버가 있으면 더 좋다. 내 경우에는 데비안 리눅스를 사용하는 관계로 apt-get install cvs로 간단히 설치를 끝냈다.
          Sticky Options: (none)
          Sticky Options: (none)
         total revisions: 3; selected revisions: 3
          Sticky Options: (none)
         total revisions: 6; selected revisions: 1
  • ProgrammingLanguageClass/2006/Report3 . . . . 9 matches
         provides a very powerful feature for some applications like a generic summation routine.
         parameter-passing method. The preprocessor should transform C programs with name
         parameters into pure C programs so that the transformed programs manage to handle
         1) Your program should handle Jensen’s device; show that your program works
         error conditions.
         Jensen's Machine 은 Jørn Jensen라는 사람이 Algol 60을 제안하는 보고서에서 제시한 프로그래밍 테크닉을 말합니다.
         cf) Jensen's Device, Man Boy Test 는 Compiler Theory 의 한 항목들입니다.
         as well as unique features of your program, etc. An internal documentation means the
  • ProjectAR/Design . . . . 9 matches
          * '''CArObject''' 에서 상속받은 '''CARHero'''와 '''CARMonster'''가 있다.
          * '''CARMonster'''를 상속받는 '''CARColdMon''', '''CARFireMon'''등등이 있다.
          그런데 왜 저렇게 복잡하게 상속을 받아야 하는걸까, CARMonster클래스가 모든걸 갖고 있어도 충분히 처리가 가능할 것같은데 --[선호]
          확장 가능성 때문이 아닐까. 몬스터 행동 패턴이 있다고 했을때 CARMonster가 모든걸 갖고 있다면 if(슬라임) ~~~ else if(박쥐) ~~~ 이런 코드가 나올거 아니냐. 저런 코드는 제거 대상 1호중의 하나랜다.
          * CARHero는 성장해야 한다. CARHero가 CARMonster를 죽이면 CARMonster의 경험치를 받아온다.
         ==== CARMonster ====
          * CARMonster는 죽으면서 자신의 레벌과 경험치를 CARHero에게 넘겨준다. 그러면 CARHero는 자신의 레벨과 비교해서 경험치를 공식에 따라 올린다.
         ==== CARInstanceItem ====
  • ProjectPrometheus/Journey . . . . 9 matches
         Object-RDB Mapping 에 대해서는 ["PatternsOfEnterpriseApplicationArchitecture"] 에 나온 방법들을 읽어보고 그중 Data Mapper 의 개념을 적용해보는중. Object 와 DB Layer 가 분리되는 느낌은 좋긴 한데, 처음 해보는것이여서 그런지 상당히 복잡하게 느껴졌다. 일단 처음엔 Data Gateway 정도의 가벼운 개념으로 접근한뒤, Data Mapper 로 꺼내가는게 나았을까 하는 생각.
          * Martin Fowler 의 PatternsOfEnterpriseApplicationArchitecture 를 읽어보는중. 우리 시스템의 경우 DataMapper 의 개념과 Gateway 의 개념을 적용해볼 수 있을 것 같다. 전자는 Data Object 를 얻어내는데에 대해 일종의 MediatorPattern 을 적용함. DB 부분과 소켓으로부터 데이터를 얻어올 때 이용할 수 있을 것 같다. 후자의 경우는 일반적으로 Object - RDB Data Mapping (또는 다른 OO 개념이 아닌 데이터들) 인데, RowDataGateway, TableDataGateway 의 경우를 이용할 수 있을것 같다.
          ''Requirements always change (from DesignPatternsExplained). 결국 사람이 개입된 일이니 실생활과 다를바 없음. :) --["sun"]''
          * CRC 세션을 하는 중간에 혼란에 빠졌다. ResponsibilityDrivenDesign 을 잘 알고 있었다고 생각했는데 이때 잘 되지 않았다.
          * 박성운씨라면 ["SeparationOfConcerns"] 를 늘 언급하시는 분이니; 디자인 정책과 구현부분에 대한 분리에 대해선 저번 저 논문이 언급되었을때 장점에 대해 설명을 들었으니까. 이는 ResponsibilityDrivenDesign 과 해당 모듈 이름을 지을때의 추상화 정도가 지켜줄 수 있을 것이란 막연한 생각중.
          즉, 앞의 디자인의 경우 JSP 페이지들의 네이밍에 Logic 디자인이 영향을 받았다고 할까. 뭐, 어차피 구현부분은 제대로 생각하지 않은 Conceptual Model 에 가까운 것이였지만, 후자의 경우 데이터 클래스와 그 책임을 맡은 클래스들이 더 명시적으로 드러났던것 같다. 전자의 경우도 '이 기능을 맡은 클래스야' 하면서 Responsibilty 식으로 접근하려고 노력했지만, 후자의 경우가 그 용어면에서 더 추상적이였다. (전자의 경우 그 이름이 시스템을 드러내려고 했다.)
          * ResponsibilityDrivenDesign.
          ''[http://javaservice.net/~java/bbs/read.cgi?m=devtip&b=ejb&c=r_p&n=1003899808&p=2&s=t#1003899808 EJB의 효용성에 관해서], [http://www-106.ibm.com/developerworks/library/ibm-ejb/index.html EJB로 가야하는지 말아야 하는지 망설여질때 도움을 주는 체크 리스트], 그리고 IR은 아마도 http://no-smok.net/nsmk/InformationRadiator 일듯 --이선우''
  • Refactoring/MakingMethodCallsSimpler . . . . 9 matches
         You have a method that returns a value but also changes the state of an object.
         You have a method that runs different code depending on the values of an enumerated parameter.
          ''Send the whole object instead''
         == Replace Constructor with Factory Method ==
         You want to do more that simple construction when you create an object.
          ''Replace the constructor with a factory method''
         A method returns an object that needs to be downcasted by its callers.
         A method returns a special code to indicate an error.
          ''Throw an exception instead''
  • SpiralArray/영동 . . . . 9 matches
         const int RIGHT=0;
         const int DOWN=1;
         const int LEFT=2;
         const int UP=3;
         const int DIRECTION=4;//이동 가능한 총 방향수
         const int MOVE_X[DIRECTION]={1, 0, -1, 0};
         const int MOVE_Y[DIRECTION]={0, 1, 0, -1};
         const int MAX_X=5;
         const int MAX_Y=5;
  • TheTrip/문보창 . . . . 9 matches
         const int MAX = 100;
         int exchangeMoney(const int * cost, const int n);
         void showExchange(const int * ex, const int count);
         int exchangeMoney(const int * cost, const int n)
         void showExchange(const int * ex, const int count)
  • Unicode . . . . 9 matches
         {{{In computing, Unicode provides an international standard which has the goal of providing the means to encode the text of every document people want to store on computers. This includes all scripts in active use today, many scripts known only by scholars, and symbols which do not strictly represent scripts, like mathematical, linguistic and APL symbols.
         Establishing Unicode involves an ambitious project to replace existing character sets, many of them limited in size and problematic in multilingual environments. Despite technical problems and limitations, Unicode has become the most complete character set and one of the largest, and seems set to serve as the dominant encoding scheme in the internationalization of software and in multilingual environments. Many recent technologies, such as XML, the Java programming language as well as several operating systems, have adopted Unicode as an underlying scheme to represent text.
         official consortium : [http://www.unicode.org]
         introduction : [http://www.unicode.org/standard/translations/korean.html]
         specification : [http://www.unicode.org/versions/Unicode4.1.0/]
         http://www.unicode.org/standard/translations/korean.html
          * [http://www.joelonsoftware.com/articles/Unicode.html]
  • VonNeumannAirport/인수 . . . . 9 matches
         //만약 지능(intelligence)를 좀 더 분배하거나, 책임(responsibility)을 더 줄 수 없다면
          int getPassengerNum() const
          int getDepartureGateNum() const
          int getArrivalGateNum() const
          void addTrafficData(const Traffic& traffic)
          int getTrafficAmount(const Traffic& traffic) const
          int getDistance(const Traffic& traffic) const
  • WinampPlugin을이용한프로그래밍 . . . . 9 matches
         컴파일하려면 in2.h 와 Out.h 가 필요하다. 이는 http://www.winamp.com/nsdn/ 에서 Winamp SDK를 다운받는다.
         // dsp-functions
         // other functions, needed to get it to work
          HINSTANCE hout = LoadLibrary("out_wave.dll");
          HINSTANCE hin = LoadLibrary("in_vorbis.dll");
          // 이 프로그램은 console mode 기반이다. 그러므로 window 관련 셋팅은 NULL.
          out->hDllInstance = hout;
          in->hDllInstance = hin;
          printf ("%s \n", in->FileExtensions); // 해당 플러그인이 지원하는 확장자가 나옴.
          // un-init plugins
  • ZeroPage_200_OK/소스 . . . . 9 matches
         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
          <img src = "http://jsfiddle.net/img/social-icons/facebook_16.png" alt="Facebook" />
          <table border="1" style="margin: 10px;" summary="books_const">
         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
          <form action="http://zeropage.org/act" method="post" onsubmit="if (this.password.value.length < 1) {alert('required pw'); return false;} else {return true;}">
  • html5/webSqlDatabase . . . . 9 matches
          * transaction을 지원한다.
          * {{{transaction()}}}, {{{readTransaction}}}
         html5rocks.webdb.onSuccess = function(tx, r) {
          html5rocks.webdb.db.transaction(function(tx) {
          html5rocks.webdb.db.transaction(function(tx){
          tx.executeSql('INSERT INTO todo(todo, added_on) VALUES (?,?)',
          html5rocks.webdb.onSuccess,
          html5rocks.webdb.db.transaction(function(tx) {
          html5rocks.webdb.db.transaction(function(tx) {
         == transaction ==
         db.transaction(function (tx) {
          tx.executeSql('INSERT INTO foo (id, text) VALUES (1, "synergies")');
  • html5practice/계층형자료구조그리기 . . . . 9 matches
         <html xmlns="http://www.w3.org/1999/xhtml">
          console.log("text:" + node.text + " nodeHeight:", node.height);
          console.log("text:" + node.text + " nodeHeight:", node.height);
          // console.log("text:" + node.text + " pos:" + x + ", " + y + " width:" + calcRt.width + " height:" + node.height);
          console.log(node.text, "child", childLen, "startY", startY, "childHeight", childHeight);
          ctx.font = NodeFontHeight + "px sans-serif";
          console.log("make node start");
          console.log("measure node start");
          console.log("draw node start");
  • radiohead4us/SQLPractice . . . . 9 matches
         2. Find all loan numbers for loans made at the Perryridge branch with loan amounts greater that $1200. (4.2.2 The where Clause)
         4. Find the customer names, loan numbers, and loan amounts for all loans at the Perryridge branch. (4.2.3 The from Clause)
         7. Find the names of all customers whose street address includes the substring 'Main'. (4.2.6 String Operations)
         8. Find the average account balance at each branch. (4.4 Aggregate Functions)
         9. Find the number of depositors for each branch. (4.4 Aggregate Functions)
         10. Find the average balance for all accounts. (4.4 Aggregate Functions)
         11. Find the average balance for each customer who lives in Harrison and has at least three accounts. (4.4 Aggregate Functions)
         16. Find all customers who have both an account and a loan at the bank. (4.6.3 Test for Empty Relations)
         17. Find all customers who have an account at all the branches located in Brooklyn. (4.6.3 Test for Empty Relations)
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/박재홍 . . . . 9 matches
          int defense;
          a.defense=0;
          b.defense=0;
          dam1=a.attack-b.defense;
          dam2=b.attack-a.defense;
          int defense;
          a.defense=0;
          b.defense=0;
          return a.attack-b.defense;
  • 오목/재니형준원 . . . . 9 matches
         // Operations
          virtual void AssertValid() const;
          virtual void Dump(CDumpContext& dc) const;
         // Generated message map functions
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // COmokView construction/destruction
         void COmokView::AssertValid() const
         void COmokView::Dump(CDumpContext& dc) const
  • 정규표현식/스터디/반복찾기/예제 . . . . 9 matches
         ConsoleKit chatscripts emacs23 host.conf locale.alias openal rc5.d sysctl.conf
         acpi console-setup fonts hosts.deny logrotate.conf pam.d resolvconf timidity
         apparmor.d crontab gconf insserv magic.mime php5 scim update-notifier
         apport crypttab gdb insserv.conf mailcap pm screenrc updatedb.conf
         apt cups gdm insserv.conf.d mailcap.order pnm2ppa.conf securetty usb_modeswitch.conf
         avahi cvs-pserver.conf gnome issue mime.types popularity-contest.conf sensors.d vga
         bash.bashrc dbus-1 gnome-app-install issue.net mke2fs.conf ppp sensors3.conf vim
         ca-certificates.conf eclipse.ini hal lftp.conf nsswitch.conf rc3.d sudoers
  • 진법바꾸기/문보창 . . . . 9 matches
         const int LEN = 50;
         void parse_base(const int num, const int base);
         void show_num(const int * parse_num, const int length);
         void parse_base(const int num, const int base)
         void show_num(const int * parse_num, const int length)
  • 2002년도ACM문제샘플풀이/문제A . . . . 8 matches
          vector<Point> intersections;
          return intersections.size() == 2;
          intersections.push_back( Point(rect1Line.x1, rect2Line.y1) );
          intersections.push_back( Point(rect2Line.x1, rect1Line.y1) );
          int intersectionSquare = 0;
          intersectionSquare = abs(intersections[1].x - intersections[0].x)
          * abs(intersections[1].y - intersections[0].y);
          intersectionSquare = (x2-x1) * (y2-y1);
          intersectionSquare = (rect.x2-rect.x1) * (rect.y2-rect.y1);
          return (x2-x1) * (y2-y1) - intersectionSquare;
  • Android/WallpaperChanger . . . . 8 matches
          * http://stackoverflow.com/questions/2169649/open-an-image-in-androids-built-in-gallery-app-programmatically
          public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          WallpaperManager manager = WallpaperManager.getInstance(MywallpaperActivity.this);
          public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          //onStart는 여러번 호출될 수 있기 때문에 식별자로 사용.
          public void onStart(Intent intent, int startId) {
          super.onStart(intent, startId);
  • AustralianVoting/Leonardong . . . . 8 matches
         bool isWin( const Candidator & candidator, int n )
         int current( const VoteSheet & sheet )
         void collectVoting( CandidatorVector & candidators, const VoteSheetVector & sheets )
         void markFall( CandidatorVector & candidators, const int limit )
         int minVotedNum( const CandidatorVector & candidators )
         bool isUnionWin( const CandidatorVector & candidators )
         int countRemainCandidators( const CandidatorVector & candidators )
         bool isSomeoneWin( const CandidatorVector & candidators )
  • AustralianVoting/문보창 . . . . 8 matches
         bool elect(const char can[][81], const int & nCan, const int bal[][20], const int & nBal, string & win);
         bool elect(const char can[][81], const int & nCan, const int bal[][20], const int & nBal, string & win)
  • AutomatedJudgeScript/문보창 . . . . 8 matches
         const int MAX = 100;
          char answer[MAX*MAX]; // 정답
          char answerDigit[MAX];
          if (!setString(answer, answerDigit) || !setString(reply, replyDigit))
          if (strcmp(answerDigit, replyDigit) != 0)
          cout << ": Wrong Answer\n";
          else if (strcmp(answer, reply) == 0)
  • BeeMaja/문보창 . . . . 8 matches
         void set_coord(int& n, const Coord curCoord)
         void go_down(const int len, int& n, Coord& curCoord)
         void go_left_up(const int len, int& n, Coord& curCoord)
         void go_up(const int len, int& n, Coord& curCoord)
         void go_right_up(const int len, int& n, Coord& curCoord)
         void go_right_down(const int len, int& n, Coord& curCoord)
         void go_left_down(const int len, int& n, Coord& curCoord)
         void cruise_comb(const int len, int& n, Coord& curCoord)
  • Code/RPGMaker . . . . 8 matches
          public void onSurfaceChanged(GL10 gl, int width, int height) {
          Util.LOGD("center: " + plane.getTransformedCenter());
          m_cam.lookAt(plane.getTransformedCenter());
          SimpleVector curPosition = m_polygon.getTransformedCenter();
          m_polygon.translate(toCam);
          Util.LOGD("translate to " + toCam);
         # a 3-dimensional array2 stores 2Byte integer
          #puts header.inspect
          #puts table.inspect
  • DesignPatterns/2011년스터디/1학기 . . . . 8 matches
          * DoWeHaveToStudyDesignPatterns?
          * HowToStudyDesignPatterns?
          * 책을 읽으며 ["HolubOnPatterns/밑줄긋기" 밑줄을 긋자]
          1. HolubOnPatterns 0장에 대해 함께 이야기했다. 나 혼자 0장을 안 읽어와서 민망했다. 1장은 꼭 읽어와야지.
          1. SRP(Single Response Principle)에 대해 얘기하면서 '책임'이란 무엇인가에 대한 이야기가 나왔다. 삽질 경험이 없는 사람에게 객체지향 원칙을 설명할 때 '책임'이 무엇인지 어떻게 이해시켜야 할지 모르겠다. 오늘 얘기하면서 낸 결론도 경험이 없으면 이해하기 어렵다는 것…
          * 2장 103쪽 전까지 읽어옵시다. 그리고 ["HolubOnPatterns/밑줄긋기" 밑줄을 그어요~]
          1. MVC 모델에 맞춰 설계해야해서 [HolubOnPatterns]에서 좋다고 하는대로만 설계하지는 않음.
         [DesignPatterns/2011년스터디]
  • DocumentObjectModel . . . . 8 matches
         Upload:DOM_Inspector.png
         Different variants of DOMs were initially implemented by web browsers to manipulate elements in an HTML document. This prompted the World Wide Web Consortium (W3C) to come up with a series of standard specifications for DOM (hence called W3CDOM).
         DOM puts no restrictions on the document's underlying data structure. A well-structured document can take the tree form using DOM.
         Most XML parsers (e.g., Xerces) and XSL processors (e.g., Xalan) have been developed to make use of the tree structure. Such an implementation requires that the entire content of a document be parsed and stored in memory. Hence, DOM is best used for applications where the document elements have to be randomly accessed and manipulated. For XML-based applications which involve a one-time selective read/write per parse, DOM presents a considerable overhead on memory. The SAX model is advantageous in such a case in terms of speed and memory consumption.
  • DoubleDispatch . . . . 8 matches
         Integer Integer::operator+(const Number& aNumber)
         Float Float::operator+(const Number& aNumber)
         Integer Integer::addInteger(const Integer& anInteger)
         Float Float::addFloat(const Float& aFloat)
         Float Integer::addFloat(const Float& aFloat)
         Integer Float::addInteger(const Integer& anInteger)
          * http://www.object-arts.com/EducationCentre/Patterns/DoubleDispatch.htm
          * http://www.chimu.com/publications/short/javaDoubleDispatching.html
  • EightQueenProblem/Leonardong . . . . 8 matches
          self.positions = []
          self.positions.append((aRow, aCol))
          for p in self.positions:
          if len(self.positions) > 0:
          row, col = self.positions.pop()
          if len(self.positions) >= aSize:
          self.assertEqual(len(q.positions), 1)
          self.assertEqual(len(q.positions), 1)
  • IndexedTree/권영기 . . . . 8 matches
         void insert_item(node *current, int item, const int address, int st, int end, const int *count, const int *level){
          insert_item(current->left, item, address, st, (st+end)/2, count, level);
          insert_item(current->right, item, address, (st+end)/2 + 1, end, count, level);
          const int maxcount = pow((double)2, level);
          insert_item(it.root, 9, 2, 1, 100000, &maxcount, &level);
  • JTDStudy/첫번째과제/원명 . . . . 8 matches
          JOptionPane.showMessageDialog(null, "You are right!\n Answer is " + correctNumber);
          public int compare(int aGuess, int answer) {
          correctNumber = answer;
          public int compare(int aGuess, int answer) {
          correctNumber = answer;
         public int compare(int aGuess, int answer) {
          int cCorrect = answer;
          JOptionPane.showMessageDialog(null, "You are right!\n Answer is "
  • MajorMap . . . . 8 matches
         == Instructions:language of the Computer ==
         Keywords are InstructionSetArchitecture, Register, Memory, Address(,and...)
         InstructionSetArchtecture(ISA) is an abstract interface between the hardware and the lowest-level sogtware. Also called simply architecture.
         Registers are a limited number of special locations built directly in hardware. On major differnce between the variables of a programming language and registers is the limited number of registers, typically 32(64?) on current computers.
         Memory is the storage area in which programs are kept when they are runngin and that contains the data needed by the running programs. Address is a value used to delineate the location of a specific data element within a memory array.
         ALU is is a part of the execution unit, a core component of all CPUs. ALUs are capable of calculating the results of a wide variety of basic arithmetical computations such as integer and floating point arithmetic operation(addition, subtraction, multiplication, and division), bitwise logic operation, and bit shitf operation. Therefore the inputs to the ALU are the data to be operated on (called operands) and a code from the control unit indicating which operation to perform. Its output is the result of the computation.--from [http://en.wikipedia.org/wiki/ALU]
         Two's complement is the most popular method of representing signed integers in computer science. It is also an operation of negation (converting positive to negative numbers or vice versa) in computers which represent negative numbers using two's complement. Its use is ubiquitous today because it doesn't require the addition and subtraction circuitry to examine the signs of the operands to determine whether to add or subtract, making it both simpler to implement and capable of easily handling higher precision arithmetic. Also, 0 has only a single representation, obviating the subtleties associated with negative zero (which is a problem in one's complement). --from [http://en.wikipedia.org/wiki/Two's_complement]
  • MineFinder . . . . 8 matches
         ["NSISIde"] 소스를 만지작 거리던중 피곤해서 지뢰찾기를 하게 되었다. 조옴 무리를 했는지(?) 손목이 저려오기 시작했다. 그러다가 갑자기 '퍽' 하고 동시 다발적으로 여러가지 생각을 하게 되었는데, 하나는 예전에 학교에서 열렸던 '선배님들과의 만남' 에서 소프트캠프에 있는 환국선배가 했던 말이였다.
         void CMinerFinderDlg::OnButtonStart()
         void CMinerFinderDlg::OnButtonStop()
          Time outside of functions: 28.613 millisecond
          Total functions: 660
          Functions in module: 660
          18225.064 8.2 61776.601 27.6 9126043 CMinerBitmapAnalyzer::CompareBitmapPixel(class CDC *,class CDC *,int,int,unsigned long) (minerbitmapanalyzer.obj)
          17577.168 7.9 17577.168 7.9 9126043 CDC::SetPixel(int,int,unsigned long) (mfc42d.dll)
          326.552 0.1 326.552 0.1 221 CWnd::SetWindowTextA(char const *) (mfc42d.dll)
          294.378 0.1 295.578 0.1 2619 CWnd::DefWindowProcA(unsigned int,unsigned int,long) (mfc42d.dll)
         BOOL CMinerBitmapAnalyzer::CompareBitmapBlock (CDC* pDC, CDC* screendc, int nX, int nY, int nWidth, int nHeight, CDC* bmpdc, int nSrcX, int nSrcY)
          if (!CompareBitmapPixel (pDC, bmpdc, nSrcX + nBi, nSrcY + nBj, rgb)) return FALSE;
         BOOL CMinerBitmapAnalyzer::CompareBitmapCenterLine (CDC* screendc, int nX, int nY, int nWidth, int nHeight, CDC* bmpdc, int nSrcX, int nSrcY)
          if (!CompareBitmapPixel (bmpdc, nSrcX + nBi, nSrcY + nBj, rgb)) return FALSE;
  • NS2 . . . . 8 matches
         Ns is a discrete event simulator targeted at networking research. Ns provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks.
         [http://www.isi.edu/nsnam/ns/ 홈페이지]
         [http://evanjones.ca/ns2.html Getting Started With ns2]
         [http://www.geocities.com/rajesh_s_george/ns-beg.html ns2 for beginners]
         [http://w3.antd.nist.gov/wctg/manet/ns2-wctg.html using ns2]
  • OurMajorLangIsCAndCPlusPlus/time.h . . . . 8 matches
         == 함수 (Functions) ==
         || char *asctime(const struct tm *timeptr); || tm 구조체를 문자열로 바꾼다. ||
         || char *ctime(const time_t *timer); || ||
         || struct tm *gmtime(const time_t *timer); || timer 를 GMT에 입각하여 tm 구조체의 값으로 변환한다. ||
         || struct tm *localtime(const time_t *timer); || timer를 local time 에 입각하여 tm 구조체의 값으로 변환한다. ||
         || size_t strftime(char *str, size_t maxsize, const char *format, const struct tm *timeptr); || time 과 date 를 문자열로 바꾼다. ||
         || struct tm *getdate(const char *); || 문자열을 tm 구조체로 변환한다. ||
  • PokerHands/문보창 . . . . 8 matches
         const int NONE = 0;
         const int TIED = 2;
         const int BLACK = -1;
         const int WHITE = 1;
         inline int comp(const void *i,const void *j) { return *(int *)i-*(int *)j; };
          cout << "Black wins.\n";
          cout << "White wins.\n";
  • RSS . . . . 8 matches
         The technology behind RSS allows you to subscribe to websites that have provided RSS feeds, these are typically sites that change or add content regularly. To use this technology you need to set up some type of aggregation service. Think of this aggregation service as your personal mailbox. You then have to subscribe to the sites that you want to get updates on. Unlike typical subscriptions to pulp-based newspapers and magazines, your RSS subscriptions are free, but they typically only give you a line or two of each article or post along with a link to the full article or post.
         The RSS formats provide web content or summaries of web content together with links to the full versions of the content, and other meta-data. This information is delivered as an XML file called RSS feed, webfeed, RSS stream, or RSS channel. In addition to facilitating syndication, RSS allows a website's frequent readers to track updates on the site using a news aggregator.
         RDF Site Summary, the first version of RSS, was created by Dan Libby of Netscape in March 1999 for use on the My Netscape portal. This version became known as RSS 0.9. In July 1999 Netscape produced a prototype, tentatively named RSS 0.91, RSS standing for Rich Site Summary, this was a compromise with their customers who argued the complexity introduced (as XML namespaces) was unnecessary. This they considered a interim measure, with Libby suggesting an RSS 1.0-like format through the so-called Futures Document [2].
         The RSS-DEV group went on to produce RSS 1.0 in December 2000. Like RSS 0.9 (but not 0.91) this was based on the RDF specifications, but was more modular, with many of the terms coming from standard metadata vocabularies such as Dublin Core. Nineteen days later, Winer released RSS 0.92, a minor and (mostly) compatible revision of RSS 0.91. The next two years saw various minor revisions of the Userland branch of RSS, and its adoption by major media organizations, including The New York Times.
         Winer published RSS 2.0 in 2002, emphasizing "Really Simple Syndication" as the meaning of the three-letter abbreviation. RSS 2.0 remained largely compatible with RSS 0.92, and added the ability to add extension elements in their own namespaces. In 2003, Winer and Userland Software assigned ownership of the RSS 2.0 specification to his then workplace, Harvard's Berkman Center for the Internet & Society.
  • RandomWalk/ExtremeSlayer . . . . 8 matches
          void ShowBoardStatus() const;
          bool CheckCompletelyPatrol() const;
          int GetRandomDirection() const;
          bool CheckCorrectCoordinate(int& nDelRow, int& nDelCol) const;
         bool RandomWalkBoard::CheckCompletelyPatrol() const
         void RandomWalkBoard::ShowBoardStatus() const
         int RandomWalkBoard::GetRandomDirection() const
         bool RandomWalkBoard::CheckCorrectCoordinate(int& nDelRow, int& nDelCol) const
  • SmallTalk/강좌FromHitel/강의2 . . . . 8 matches
          시다. 그러면 "Transcript"와 "Workspace"라는 제목을 가진 두 개의 창이 뜰
          February 1995. With a bit of luck the answer will be 7."
          Class allClasses asSortedCollection. ☞ "Inspector 창 열림"
          어떻습니까? "Inspecting a SortedCollection"이라는 제목의 창이 화면에 나
          타났습니다. 지금 나타난 창을 "객체 탐색기"(object inspector), 혹은 간단
          히 "탐색기"(inspector)라고 부릅니다.
          Object allSubinstances size. ☞ 44121
          "Transcript"라는 이름의 창만 하나 덜렁 남아 있게 되었습니다. 썰렁하지
  • SmallTalk/강좌FromHitel/강의4 . . . . 8 matches
         하나는 "System Transcript"라는 제목이 붙어있는 "알림판"(transcript)이
         Smalltalk 환경에서 가장 중요한 창은 "알림판"(transcript)입니다. 원래
         'transcript'라는 낱말의 뜻은 '베껴낸 것, 사본, 등본'인데, Smalltalk를
         깊이 공부하지 못한 필자로써는 왜 transcript라는 낱말이 이 창에 붙게 되
          Transcript show: '안녕하세요?'.
         객체 탐색기(object inspector)는 명령을 실행할 떄 나 글
         위의 명령을 글쇠로 실행해 보면 "Inspecting a SortedCollection"
  • SpiralArray/Leonardong . . . . 8 matches
          def construct(self, pointList):
          def testConstructArray(self):
          self.array.construct( self.mover.getHistory() )
          array.construct(mover.getHistory())
          def construct(self, pointList):
          def testConstructArray(self):
          self.array.construct( self.mover.getHistory() )
          array.construct(mover.getHistory())
  • StringOfCPlusPlus/영동 . . . . 8 matches
          Anystring(const char*);
          Anystring operator+(const Anystring &string1); //const;
          friend ostream& operator<<(ostream & os, const Anystring & a_string);
         Anystring::Anystring(const char* tempstr)
         Anystring Anystring::operator+(const Anystring &string1) //const
         ostream& operator<<(ostream& os, const Anystring & a_string)
  • StructuredText . . . . 8 matches
         A structured string consists of a sequence of paragraphs separated by
         Special symbology is used to indicate special constructs:
          * A paragraph that begins with a '-', '*', or 'o' is treated as an unordered list (bullet) element.
          * A paragraph that begins with a sequence of digits followed by a white-space character is treated as an ordered list element.
          * A paragraph that begins with a sequence of sequences, where each sequence is a sequence of digits or a sequence of letters followed by a period, is treated as an ordered list element.
          * A paragraph with a first line that contains some text, followed by some white-space and '--' is treated as a descriptive list element. The leading text is treated as the element title.
          * Text enclosed in brackets which consists only of letters, digits, underscores and dashes is treated as hyper links within the document. For example:
          As demonstrated by Smith [12] this technique is quite effective.
  • TellVsAsk . . . . 8 matches
         Procedural code gets information then makes decisions. Object-oriented code tells objects to do things.
         That is, you should endeavor to tell objects what you want them to do; do not ask them questions about their state,
         The problem is that, as the caller, you should not be making decisions based on the state of the called object
         responsibility, not yours. For you to make decisions outside the object violates its encapsulation.
         what you want. Let it figure out how to do it. Think declaratively instead of procedurally!
         It is easier to stay out of this trap if you start by designing classes based on their responsibilities,
         (ResponsibilityDrivenDesign) 그러한 경우, 당신은 당신에게 객체의 상태를 알리도록 질의문을 작성하는 대신 (주로 getter 들에 해당되리라 생각), class 들이 실행할 수 있는 '''command''' 들을 자연스럽게 발전시켜 나갈 것이다.
  • ThinkRon . . . . 8 matches
         Let me tell a brief story about how that came about. Our president, at the time was Bob Doherty. Doherty came from General Electric via Yale, and had been one of the bright young men who were taken under the wing of the famous engineer Stiglitz. Every Saturday, Stiglitz would hold a session with these talented young men whom General Electric had recruited and who were trying to learn more advanced engineering theory and problem-solving techniques. Typically, Bob Doherty would sometimes get really stuck while working on a problem. On those occasions, he would walk down the hall, knock on Stiglitz’s door, talk to him — and by golly, after a few minutes or maybe a quarter of an hour, the problem would be solved.
         One morning Doherty, on his way to Stiglitz’s office, said to himself, "Now what do we really talk about? What’s the nature of our conversation?" And his next thought was, "Well Stiglitz never says anything; he just asks me questions. And I don’t know the answer to the problem or I wouldn’t be down there; and yet after fifteen minutes I know the answer. So instead of continuing to Stiglitz’s office, he went to the nearest men’s room and sat down for a while and asked himself, "What questions would Stiglitz ask me about this?" And lo and behold, after ten minutes he had the answer to the problem and went down to Stiglitz’s office and proudly announced that he knew how to solve it.
         --NoSmok:HerbertSimon from http://civeng1.civ.pitt.edu/~fie97/simonspeech.html
  • ZeroPage_200_OK . . . . 8 matches
          * '''XHTML1.0 (Transitional / Strict)''' - http://www.w3.org/TR/2002/REC-xhtml1-20020801/
          * HTML4.01 (Transitional / Frameset / Strict) - http://www.w3.org/TR/1999/REC-html401-19991224/
          * '''JavaScript 1.4~1.6''' / JScript (ECMAScript)''' - http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
          * Flash ( ActionScript) / Silverlight
          * JetBrains WebStorm
          * Oracle NetBeans
          * HTTP(HyperText Transfer Protocol) 소개
          * Private instance property
          * JavaScript functions
  • eXtensibleStylesheetLanguageTransformations . . . . 8 matches
         = eXtensible Stylesheet Language Transformations =
         Extensible Stylesheet Language Transformations, or XSLT, is an XML-based language used for the transformation of XML documents. The original document is not changed; rather, a new document is created based on the content of an existing one. The new document may be serialized (output) by the processor in standard XML syntax or in another format, such as HTML or plain text. XSLT is most often used to convert data between different XML schemas or to convert XML data into web pages or PDF documents.
         XSLT was produced as a result of the Extensible Stylesheet Language (XSL) development effort within W3C during 1998–1999, which also produced XSL Formatting Objects (XSL-FO) and the XML Path Language, XPath. The editor of the first version (and in effect the chief designer of the language) was James Clark. The version most widely used today is XSLT 1.0, which was published as a Recommendation by the W3C on 16 November 1999. A greatly expanded version 2.0, under the editorship of Michael Kay, reached the status of a Candidate Recommendation from W3C on 3 November 2005.
  • usa_selfish/곽병학 . . . . 8 matches
          int[] ans = new int[last+1];
          Arrays.fill(ans, 0, p[0].b, 0);
          Arrays.fill(ans, p[i-1].b, p[i].b, ans[p[i-1].b]);
          ans[p[i].b] = Math.max(ans[p[i].a] +1, ans[p[i].b-1]);
          System.out.println(ans[last]);
  • 데블스캠프2012/넷째날/묻지마Csharp/서민관 . . . . 8 matches
          bool monsterIsDead = false;
          monsterIsDead = true;
          if (monsterIsDead)
          replaceMonster(this.label2);
          monsterIsDead = false;
          moveMonster(this.label2);
          private void moveMonster(Label label)
          private void replaceMonster(Label label)
  • 레밍즈프로젝트/프로토타입/파일스트림 . . . . 8 matches
         || m_hFile || Usually contains the operating-system file handle. ||
         '''Construction'''
         || CFile || Constructs a CFile object from a path or file handle. ||
         || Duplicate || Constructs a duplicate object based on this file. ||
         || Open || Safely opens a file with an error-testing option. ||
         || Seek || Positions the current file pointer. ||
         || SeekToBegin || Positions the current file pointer at the beginning of the file. ||
         || SeekToEnd || Positions the current file pointer at the end of the file. ||
  • 변준원 . . . . 8 matches
          const int max=5;
         int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
          wc.hInstance = hInstance;
          CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL );
          TranslateMessage( &msg );
          const int max=5;
  • 서지혜 . . . . 8 matches
          * '''의도적 수련'''에서 영감을 받아 시작하기로 한 reconstitution project
          * [DesignPatterns/2011년스터디]
          * 교재 : [HolubOnPatterns]
          * 밑줄긋기 진행중 : [HolubOnPatterns/밑줄긋기]
          * [DesignPatterns/2011년스터디/서지혜]
          1. [http://nforge.zeropage.org/projects/mymensingh 동네 검색 종결자]
          * INS 프로젝트
          * [HowToStudyDesignPatterns]
          * [SmalltalkBestPracticePatterns]
  • 오목/휘동, 희경 . . . . 8 matches
         const int size = 30;
         const int room = 30;
         // Operations
          virtual void AssertValid() const;
          virtual void Dump(CDumpContext& dc) const;
         // Generated message map functions
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  • 큰수찾아저장하기/김태훈zyint . . . . 8 matches
          - 추가: 리팩토링(?) 한거같지도 않지만-_- 일단 나눠봤다; 행렬에서 transpose를 이용해서;;; 일단 짜보았는데 효율적이진 않은듯 -_-
         //// Functions ///////////////////////////////////////////////////////////
         void transpose(int (*value)[COL]); //행렬의 diagonal을 기준으로 transpose
          transpose(value);
          transpose(value);
         //// Functions ///////////////////////////////////////////////////////////
         void transpose(int (*value)[COL])
  • Ant . . . . 7 matches
         Platform 독립적인 Java 의 프로그램 컴파일, 배포 도구 이다. 비슷한 역할로 Unix의 make 툴과 Windows에서 프로그램 Installer 를 생각할수 있다.
         === Install ===
          Ant 의 몇몇 특정 Task 들의 경우 (JUnit, FTP, Telnet 등) 해당 라이브러리가 필요하다. 이는 http://jakarta.apache.org/ant/manual/install.html#librarydependencies 항목을 읽기 바란다.
          3. Install
          이것은 바로 위에 있는 것에다가 dist라는 것이 붙었는데 이것은 target 을 나타냅니다. Unix/Linux 에서 make 명령으로 컴파일 해보신 분들을 아실껍니다. 보통 make 명령으로 컴파일 하고 make install 명령으로 인스톨을 하죠? 거기서 쓰인 install 이 target 입니다. Ant 에서는 Build 파일 안에 다양한 target 을 둘 수 있습니다. 예를 들면 debug 모드 컴파일과 optimal 모드 컴파일 2개의 target 을 만들어서 테스트 할 수 있겠죠? ^^
          % java -Dant.home=c:\ant org.apache.tools.ant.Main [options] [target]
  • AntOnAChessboard/문보창 . . . . 7 matches
         inline void show(const int i, const int j)
         void show_typeA(const int x, const int y)
         void show_typeB(const int y, const int x)
         void show_typeS(const int x)
  • BasicJAVA2005/실습1/조현태 . . . . 7 matches
          int[] answers = new int[3];
          answers[i] = NumberCreator.nextInt(10);
          if (answers[i] == answers[j])
          answers[i] = NumberCreator.nextInt(10);
          if (answers[i] == inputNumbers[i])
          if (answers[i] == inputNumbers[j])
  • BuildingWikiParserUsingPlex . . . . 7 matches
          imgExtensions = ("jpg", "png", "gif", "jpeg")
          extension = aFileUrl[aFileUrl.rfind(".")+1:]
          return extension in imgExtensions
         전자의 경우 각각의 Class Responsibility 들을 유지한다는 장점이 있지만, AutoLinker 에서 원래 생각치 않았던 한가지 일을 더 해야 한다는 점이 있겠다.
  • CToAssembly . . . . 7 matches
         문장 foo: .long 10은 foo라는 4 바이트 덩어리를 정의하고, 이 덩어리를 10으로 초기화한다. 지시어 .globl foo는 다른 파일에서도 foo를 접근할 수 있도록 한다. 이제 이것을 살펴보자. 문장 int foo를 static int foo로 수정한다. 어셈블리코드가 어떻게 살펴봐라. 어셈블러 지시어 .globl이 빠진 것을 확인할 수 있다. (double, long, short, const 등) 다른 storage class에 대해서도 시도해보라.
         asm ("fsin" : "=t" (answer) : "0" (angle));
         answer = sin(angle);
          unsigned position;
          volatile unsigned result;
          unsigned position;
          volatile unsigned result;
  • Class/2006Fall . . . . 7 matches
          * Final demonstration is on 5 Dec - 전체 최종본 제출
          * Write answer to Q&A in chapter 4.
          * Write answer to Q&A in chapter 5.
          * Write answer to one of question in Q&A chapter 6.
          * Write answer that consist five or six sentenses to one of question in Q&A chapter 7.
  • CleanCodeWithPairProgramming . . . . 7 matches
          * Jenkins
          * Jenkins 빌드가 매우 느려서 리팩토링하면서 Sonar로 Violation 테스트하기 쉽지는 않을 듯;; (특히 마무리할 때)
          * maven, Jenkins, Sonar... 이름만 들어도 기대가 되네요 - [서민관]
          * Sonar와 Jenkins, maven... 실제로 이런 자동 빌드 시스템을 사용해본 적이 없었는데, 직접 보기 신기했습니다. 페어 프로그래밍도 재밌었습니다. 하지만 여전히 시간에 쫓기는 프로그래밍은 힘들더군요... - [박성현]
         === Sonar, Jenkins 등 세팅에 대한 몇가지 ===
          1. Jenkins 서비스 재시작 : service jenkins restart
  • ComponentObjectModel . . . . 7 matches
         Despite this, COM remains a viable technology with an important software base – for example the popular DirectX 3D rendering SDK is based on COM. Microsoft has no plans for discontinuing COM or support for COM.
         There exists a limited backward compatibility in that a COM object may be used in .NET by implementing a runtime callable wrapper (RCW), and .NET objects may be used in COM objects by calling a COM callable wrapper. Additionally, several of the services that COM+ provides, such as transactions and queued components, are still important for enterprise .NET applications.
         RCW를 구현하고 있는 .Net 하에서는 COM 객체는 아마도 제한적으로 호환성의 측면에서 사용될 것이다. 또한 .NET 객체들은 아마도 COM callable wrapper를 호출하는 것 때문에 COM 객체들안에서 사용될 것이다. 덧붙여서 COM+가 제공하는 일부분의 서비스들(transaction, queued components)은 여전히 .NET 응용프로그램에서도 중요한 부분이다.
         예전에 COM 프로그래밍을 하다가 Java 에서의 결과물들을 보면서 'COM 은 OS 플랫폼/C & C++ 한계 내에서의 컴포넌트 모델이라면, Java 에서의 Component (Beans) 는 VM 위에서의 자유로운 컴포넌트 모델이구나' 라는 생각이 들기도. .NET 플랫폼 이후에 COM 이 사라지게 되는건 어쩌면 당연한 수순일 것이다.
  • DPSCChapter3 . . . . 7 matches
          self subclassResponsibility
          self subclassResponsibility
          self subclassResponsibility
          car := (consumerChoice == #Ford
          ifFalse: [consumerChoice == #Toyota
          ifFalse: [consumerChoice == #Porsche
          (consumerChoice == #Ford
  • DirectDraw/APIBasisSource . . . . 7 matches
         int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
          wc.hInstance = hInstance;
          CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL );
          // Translate and dispatch the message
          TranslateMessage( &msg );
  • GofStructureDiagramConsideredHarmful . . . . 7 matches
         There's a mistake that's repeated throughout the Design Patterns book, and unfortunately, the mistake is being repeated by new patterns authors who ape the GoF style.
         Each GoF pattern has a section called "Structure" that contains an OMT (or for more recent works, UML) diagram. This "Structure" section title is misleading because it suggests that there is only one Structure of a Pattern, while in fact there are many structures and ways to implement each Pattern.
         But inexperienced Patterns students and users don't know this. They read the Patterns literature too quickly, often thinking that they understand a Pattern merely by understanding it's single "Structure" diagram. This is a shortcoming of the GoF Form, one which I believe is harmful to readers.
         What about all those important and subtle Implementation notes that are included with each GoF Pattern? Don't those notes make it clear that a Pattern can be implemented in many ways? Answer: No, because many folks never even read the Implementation notes. They much prefer the nice, neat Structure diagrams, because they usually only take up a third of a page, and you don't have to read and think a lot to understand them.
         I routinely ask folks to add the word "SAMPLE" to each GoF Structure diagram in the Design Patterns book. In the future, I'd much prefer to see sketches of numerous structures for each Pattern, so readers can quickly understand that there isn't just one way to implement a Pattern. But if an author will take that step, I'd suggest going even further: loose the GoF style altogether and communicate via a pattern language, rich with diagrams, strong language, code and stories.
  • HelloWorld . . . . 7 matches
         int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int nCmdShow)
          Console.WriteLine("Hello World!");
          Console.WriteLine("Hello World!")
          System.Console.WriteLine("Hello World!");
         === Managed Extension C++ version ===
          Console::WriteLine("Hello World");
  • HolubOnPatterns/밑줄긋기 . . . . 7 matches
         { private static Singleton instance = null;
          public static instance()
          { if( instance == null)
          { instance = new Singleton();
          return instance;
         [HolubOnPatterns], [DesignPatterns/2011년스터디]
  • LUA_4 . . . . 7 matches
         >> local inside = 2 -- inside는 local 에서만 쓸 수 있도록 선언한다.
         >> print (inside)
         > print(inside) -- inside는 존재하지 않는다. nil 반환
         >> local inside = 1
         >> print (inside) -- 상위 함수의 local 변수에 접근 할 수 있습니다.
  • LUA_6 . . . . 7 matches
         > instance = { value = 0, set_value = function(self, value) self.value = value end }
         > instance.set_value(10) ---- self 가 없어서 에러가 발생
         > instance.set_value(instance,10) --- self에 자기 자신을 넣어서 OK
         > print(instance.value)
         > instance:set_value(20) --- ':'를 쓰면 self를 안써도 됨
         > print(instance.value)
  • LearningGuideToDesignPatterns . . . . 7 matches
         DesignPatterns로 Pattern 스터디를 처음 시작할때 보면, 23개의 Pattern들을 navigate 할 방향을 결정할만한 뚜렷한 기준이 없음을 알 수 있다. 이 책의 Pattern들은 Creational, Structural, Behavioral 분류로 나누어져 있다. 이러한 분류들은 각각 다른 성질들의 Pattern들을 빨리 찾는데 도움을 주긴 하지만, 패턴을 공부할때 그 공부 순서에 대해서는 구체적인 도움을 주지 못한다.
         DesignPatterns 의 저자들은 Pattern들간의 연결관계들을 제시하지만, 이것이 또한 Pattern들에 대한 navigation이 되지는 못한다. 책 전반에 걸쳐 많은 패턴들이 연결 관계를 보여주며, 또한 그것은 다른 패턴들 학습하기 이전에 공부하는데 도움을 주기도 한다. 그리고 어떤 Pattern들은 다른 패턴들에 비해 더 복잡하기도 하다.
         == DesignPatterns Navigation ==
         CompositePattern은 여러부분에서 나타나며, IteratorPattern, ChainOfResponsibilityPattern, InterpreterPattern, VisitorPattern 에서 종종 쓰인다.
         SingletonPattern은 종종 AbstractFactoryPattern 을 만드는데 이용된다. (Related Patterns 참조)
         === Chain of Responsibility - Behavioral ===
         ObserverPattern 과 MediatorPattern 들을 이용한 message의 전달관계를 관찰하면서, ChainOfResponsibilityPattern 의 message handling 과 비교 & 대조할 수 있다.
  • MFC/CollectionClass . . . . 7 matches
          || {{{~cpp InsertAt()}}} || 인자로 전달된 객체를 배열의 특정 인덱스에 삽입한다. ||
          ''{{{~cpp ConstructElements(), DestructElements()}}} 보조함수들은 객체를 삽입, 삭제하는 과정에서 쓰이는 보조 함수들이다.''
          || {{{~cpp InsertBefore(POSITION, ObjectType)}}} || 두번째 인자의 객체를 첫번째 인자의 위치의 앞부분에 삽입한다. ||
          || {{{~cpp InsertAfter(POSITION, ObjectType)}}} || 알아서 =.=;; ||
          ''{{{~cpp ConstructElements(), DestructElements(), CompareElements()}}} 보조함수들은 객체를 삽입, 삭제, 검색하는 과정에서 쓰이는 보조 함수들이다.''
          || {{{~cpp InsertBefore(POSITION, ObjectType)}}} || 두번째 인자의 객체를 첫번째 인자의 위치의 앞부분에 삽입한다. ||
          || {{{~cpp InsertAfter(POSITION, ObjectType)}}} || 알아서 =.=;; ||
  • NSIS_Start . . . . 7 matches
          * 프로젝트 이름 : NSIS Start (About Nullsoft ({{{~cpp SuperPiMP}}} | Scriptable) Install System)
          * 주제 : Installer Program 에 대한 이해를 위해. free software 인 Nullsoft ({{{~cpp SuperPiMP}}} | Scriptable) Install System 영문메뉴얼을 보면서 한글 메뉴얼을 만든다.
          * 간단한 Installer (그냥 해당 디렉토리에 압축 풀리는 정도로.)
          * simple / full / custom 설정 가능한 Installer
          * uninstaller 포함된 Installer
          * 만에 하나 9일 전에 끝나면 간단한 NSIS Wizard 만들기 (with MFC)
          * NSIS Ide 를 간단하게 제작하였으나 실제로 써먹지는 못함. (Editplus가 더 편하더라라는. ^^;)
          * ["NSIS"] - 실제 문서
          * ["NSIS/예제1"], ["NSIS/예제2"], ["NSIS/예제3"] - NSIS를 이용한 예제
          * ["NSISIde"] - 하루 단기 프로젝트로 만들어봤었던 NSIS Ide
          * ["NSIS/Reference"] - 주요 스크립트 명령어들 관련 reference
  • OurMajorLangIsCAndCPlusPlus/Variable . . . . 7 matches
         === const 키워드 ===
         const int a;
         int const b;
         const int *c;
         int * const d;
         const int * const e;
  • OurMajorLangIsCAndCPlusPlus/XML/김상섭허준수 . . . . 7 matches
         tree_pointer insert(tree_pointer ptr, char* tag, char* text) // a = 태그, b = 데이터
         void stack_insert(stack_pointer sta, tree_pointer ptr)
          insert(ptr,tag,text);
          ptr = insert(ptr,tag,text);
          stack_insert(sta,ptr);
          insert(ptr,tag,text);
         tree_pointer tree_make(const char * file)
  • OurMajorLangIsCAndCPlusPlus/locale.h . . . . 7 matches
         #define LC_ALL (integer constant expression) 모든 카테고리에 대한 로케일 설정을 위한 환경변수이다
         #define LC_COLLATE (integer constant expression) 스트링(string)의 정렬 순서(sort order 또는 collation)를 위한 로케일 설정을 위해 사용
         #define LC_CTYPE (integer constant expression) 문자 분류(알파벳, 숫자, 한글 또는 소문자, 대문자 등등), 변환, 대소문자 비교을 위한 로케일 설정을 의미
         #define LC_MONETARY (integer constant expression) 금액 표현(천단위 구분 문자, 소수점 문자, 금액 표시 문자, 그 위치 등)을 위한 로케일 설정
         #define LC_NUMERIC (integer constant expression) 금액이 아닌 숫자 표현(천단위, 소수점, 숫자 그룹핑 등)을 위한 로케일 설정
         #define LC_TIME (integer constant expression) 시간과 날짜의 표현(년, 월, 일에 대한 명칭 등)을 위한 로케일 설정 예를 들어 strftime(), strptime()
         || char* setlocale(int category, const char* locale); || category에 대해 로케일 locale을 설정하고 (물론, 사용 가능한 로케일인 경우), 설정된 로케일값을 리턴. ||
  • RandomWalk/문원명 . . . . 7 matches
          int answer,go,x,y;
          answer = end(board);
          }while(answer == 1);
          int aAnswer;
          if (find != 0) aAnswer = 1; //0이 있으면 1 리턴
          else aAnswer = 0;
          return aAnswer;
  • RandomWalk/임인택 . . . . 7 matches
         const int DIRECTION = 8;
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
         #define NUMOFDIRECTIONS 8
          moveRoachRecursively(rand()%NUMOFDIRECTIONS);
          moveRoachRecursively((unsigned)(rand())%NUMOFDIRECTIONS);
          - 별로 OO 적이지 못한것 같다...(Roach 와 Board 객체가 [양방향참조]를 한다). DesignPatterns 를 참고하면서 보았어야 하는데.. 나중에 [Refactoring] 해야 함..
          transmitRoach(msg);
          public void transmitRoach(Message msg) {
  • ResponsibilityDrivenDesign . . . . 7 matches
         Object 란 단순히 logic 과 data 묶음 이상이다. Object 는 service-provider 이며, information holder 이며, structurer 이며, coordinator 이며, controller 이며, 바깥 세상을 위한 interfacer 이다. 각각의 Object 들은 자신이 맡은 부분에 대해 알며, 역할을 해 내야 한다. 이러한 ResponsibilityDrivenDesign 은 디자인에 대한 유연한 접근을 가능하게 한다. 다른 디자인 방법의 경우 로직과 데이터를 각각 따로 촛점을 맞추게끔 하였다. 이러한 접근은 자칫 나무만 보고 숲을 보지 못하는 실수를 저지르게 한다. RDD는 디자인과 구현, 그리고 책임들에 대한 재디자인에 대한 실천적 조언을 제공한다.
          * object 에 대해서 기존의 'data + algorithms' 식 사고로부터 'roles + responsibilities' 로의 사고의 전환.
          * Partitions and layers subsystems.
          * Generates DesignPatterns. ChainofResponsibilityPattern, MediatorPattern, CommandPattern and TemplateMethodPattern are all generated by the method.
          * SeparationOfConcerns - 논문에 관련 내용이 언급된 바 있음.
          * Seminar:ResponsibilityDrivenDesign
  • Slurpys/문보창 . . . . 7 matches
         const int MAX_LEN = 61;
         bool isSlurpy(const char * str, int & index);
         bool isSlimp(const char * str, int & index);
         bool isSlump(const char * str, int & index);
         bool isSlurpy(const char * str, int & index)
         bool isSlimp(const char * str, int & index)
         bool isSlump(const char * str, int & index)
  • Star/조현태 . . . . 7 matches
          bool operator == (const SavePoint& target) const
          bool operator < (const SavePoint& target) const
          bool isInSame = FALSE;
          for (register int j = 0; j < 10 && FALSE == isInSame; ++j)
          isInSame = TRUE;
          if (FALSE == isInSame)
         const int START_POINT_Y[4] = {0, 1, 2, 2};
         const int END_POINT_Y[4] = {6, 6, 7, 8};
         const int START_POINT_Z[4] = {1, 1, 1, 0};
  • Steps/김상섭 . . . . 7 matches
         unsigned int max[93000];
         unsigned int count;
         unsigned int found(unsigned int i)
          unsigned int temp = 0;
          unsigned int i, length1, length2, testnum, temp = 1;
          vector<unsigned int> totallength;
  • TeachYourselfProgrammingInTenYears . . . . 7 matches
         언어 표준화의 시도에 참가하는 것.ANSI C++ 위원회라면 그것이 생길 것이고, 가족에서의 코딩·스타일에 대해, 인덴트의 공백을 2 문자로 할까 4 문자로 하는가 한 레벨에서도, 결정하게 될 수 있다.어쨌건 간에, 다른 사람이 프로그램 언어의 어떤 곳을 좋아하는가, 얼마나 깊고 좋아하는가, 그리고 아마, 왜 그렇게 좋아하는가는 일도 조금, 배우게 된다.
         execute single instruction 1 nsec = (1/1, 000,000,000) sec
         L1 캐쉬·메모리로부터 1 워드를 읽어내는 2 nsec
         메인 메모리로부터 1 워드를 읽어내는 10 nsec
         연속한 디스크·로케이션으로부터 1 워드를 읽어내는 200 nsec
         디스크로부터 새롭게 장소를 찾아 1 워드를 읽어낸다 8,000,000nsec = 8msec
          * 역주 6 - 말할 필요도 없이,Jamie Zawinski 이다.
  • TheJavaMan/숫자야구 . . . . 7 matches
          public static String correct_answer;
          correct_answer = "";
          correct_answer += temp[i];
          if ( correct_answer.compareTo(aStr) == 0)
          if ( correct_answer.charAt(i) == aStr.charAt(i))
          if ( correct_answer.charAt(i) == aStr.charAt(j))
          UpperPanel.addResult("이전 게임 답 : " + BBGame.correct_answer);
  • VMWare/OSImplementationTest . . . . 7 matches
         [BITS 16] ; We need 16-bit intructions for Real
         [BITS 32] ; We now need 32-bit instructions
          unsigned
         char* vidmem = (unsigned char*)0xB8000;
         먼저 Win32 Console Application으로 간단히 프로젝트를 생성합니다.
         /nologo /base:"0x10000" /entry:"start" /subsystem:console /incremental:no /pdb:"Release/testos.pdb" /map:"Release/testos.map" /machine:I386 /nodefaultlib /out:"testos.bin" /DRIVER /align:512 /FIXED
  • VendingMachine/재니 . . . . 7 matches
          void resetCoins(){
          void insertCoins(){
          cout << "MAIN MENU n 1. INSERT COIN n 2. BUY n 3. RETURN THE REMAINDERS n 4. EXIT n";
          coin_counter.resetCoins();
          coin_counter.insertCoins();
          coin_counter.resetCoins();
         see also FifteenSecondsRule
  • XMLStudy_2002/XML+CSS . . . . 7 matches
         <MYDOC xmlns:HTML="http://www.w3.org/Profiles/XHTML-transitional">
         <MYDOC xmlns:HTML="http://www.w3.org/Profiles/XHTML-transitional">
          <EMAIL><HTML:A href="mailto:jiyuns@netsgo.com">jiyuns@netsgo.com</HTML:A>
         <PA>이 문서는 <HTML:A href="mailto:jiyuns@netsgo.com">저자</HTML:A>와의 상의 없이 상업적으로 배포하거나</PA>
  • XPlanner . . . . 7 matches
          http://www.xplanner.org/images/screenshots/iteration.jpg
          http://www.xplanner.org/images/screenshots/story.jpg
          http://www.xplanner.org/images/screenshots/task.jpg
          http://www.xplanner.org/images/screenshots/iteration_metrics.jpg
          http://www.xplanner.org/images/screenshots/statistics.jpg
          http://www.xplanner.org/images/screenshots/person.jpg
          http://www.xplanner.org/images/screenshots/integration.jpg
  • ZIM/EssentialUseCase . . . . 7 matches
          || Actor Action || System Response ||
          || Actor Action || System Response ||
          || Actor Action || System Response ||
          || Actor Action || System Response ||
          || Actor Action || System Response ||
          || Actor Action || System Response ||
         화일 전송시의 System Response는 클라이언트프로그램의 입장에서 써야 하나요? -- 석천
  • coci_coko/권영기 . . . . 7 matches
          int ans1 = 0, ans2 = 0, sum = 0;
          ans1 = cnt;
          ans2 = -1;
          ans2++;
          printf("%d %d", ans1, ans2);
  • whiteblue/파일읽어오기 . . . . 7 matches
          unsigned int nSchoolNumber; // User's school number
          UserInfo( string szN, unsigned int nSN )
          nSchoolNumber = nSN;
          unsigned int getSchoolNumber() { return nSchoolNumber; }
          unsigned int nTNN;
          unsigned int nTempNum = 0;
          void insertUserData(UserInfo * ui)
          void insertBookData(BookInfo * bi)
  • 데블스캠프2005/RUR-PLE/Sorting . . . . 7 matches
          if next_to_a_beeper():#inspect whether it's empty column or not
          while not next_to_a_beeper(): # go to unsorted section
          move() # search the smallest column in unordered columns
          move() # search the smallest column in unordered columns
         # Function Public Definitions #
         #move/get/put functions
         #private functions #
  • 데블스캠프2005/java . . . . 7 matches
         The Java platform and language began as an internal project at Sun Microsystems in the December 1990 timeframe. Patrick Naughton, an engineer at Sun, had become increasingly frustrated with the state of Sun's C++ and C APIs and tools. While considering moving to NeXT, Patrick was offered a chance to work on new technology and thus the Stealth Project was started.
         The Stealth Project was soon renamed to the Green Project with James Gosling and Mike Sheridan joining Patrick Naughton. They, together with some other engineers, began work in a small office on Sand Hill Road in Menlo Park, California to develop a new technology. The team originally considered C++ as the language to use, but many of them as well as Bill Joy found C++ and the available APIs problematic for several reasons.
         According to the available accounts, Bill Joy had ideas of a new language combining the best of Mesa and C. He proposed, in a paper called Further, to Sun that its engineers should produce an object-oriented environment based on C++. James Gosling's frustrations with C++ began while working on Imagination, an SGML editor. Initially, James attempted to modify and extend C++, which he referred to as C++ ++ -- (which is a play on the name of C++ meaning 'C++ plus some good things, and minus some bad things'), but soon abandoned that in favor of creating an entirely new language, called Oak named after the oak tree that stood just outside his office.
         Like many stealth projects working on new technology, the team worked long hours and by the summer of 1992, they were able to demo portions of the new platform including the Green OS, Oak the language, the libraries, and the hardware. Their first attempt focused on building a PDA-like device having a highly graphical interface and a smart agent called Duke to assist the user.
         The device was named Star7 after a telephone feature activated by *7 on a telephone keypad. The feature enabled users to answer the telephone anywhere. The PDA device itself was demonstrated on September 3, 1992.
  • 데블스캠프2012/다섯째날/C로배우는C++원리 . . . . 7 matches
         void setName(void* this,const char* name) {
         void setAge(void* this, const int age) {
         void createPerson(void* this, const char* name, const int age){
         void createStudent(void* this, const char* name, const int age, const char* studentID){
  • 미로찾기/영동 . . . . 7 matches
         //Constant values about direction
         const int MOVE_X[DIRECTION]={0, 1, 0, -1};
         const int MOVE_Y[DIRECTION]={-1, 0, 1, 0};
         //Constant Values about maze[][] and mark[][]
          {//Constructor with initial data
          Element(){}//Default constructor
         {//Insert the element into the stack
  • 새싹교실/2011/데미안반 . . . . 7 matches
          * [이준영] - 오늘 심볼릭 상수를 배웠습니다. const랑 define을 배웠어요. 먼지는 모르겠지만 나중에 암기하도록 하겠습니다.
          srand((unsigned)time(NULL));
          printf("%u\n",(unsigned)time(NULL));
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
  • 정모/2013.5.6/CodeRace . . . . 7 matches
         int main(int argc, const char * argv[])
          Console.Write(p[i].word+" "+p[i].count+"\n");
          Console.Read();
         int main(int argc, const char * argv[])
          // insert code here...
         int main(int argc, const char * argv[]) {
          // insert code here...
  • 헝가리안표기법 . . . . 7 matches
         || u || unsigned || unsigned type(4byte) || unsigned uPercent ||
         || w || WORD || unsigned word(2byte) || WORD wCnt ||
         || dw || DWORD || unsigned double word(4byte) || DWORD dwLength ||
         || k || constant formal parameter || ... || void vFunc(const long klGalaxies) ||
  • AseParserByJhs . . . . 6 matches
          // 모두 월드 좌표들이었습니다. 모델 각각의 위치로 Translate 나 Rotate를
          matrix_t tmp_trans, tmp_rot;
          matrixIdentity (tmp_trans);
          matrixTranslate (tmp_trans, pM->Pos);
          matrixMultiply (tmp_rot, tmp_trans, pM->tm);
  • BookShelf/Past . . . . 6 matches
          1. [http://kldp.org/Translations/html/Ask-KLDP/ 좀더 나은 질문하기 방법] - 20050121
          1. ExtremeProgrammingInstalled - 20050508
          1. [Downshifting] - 20051008
          1. [SmalltalkBestPracticePatterns] - 20051218
          1. [JoelOnSoftware] - 20060120
          1. [LionsCommentaryOnUnix]
  • CarmichaelNumbers/조현태 . . . . 6 matches
         const int MINIMUM=2;
         const int MAXIMUM=65000;
          int answer=0;
          answer=Carmichael(number);
          if (0==answer)
          unsigned int a=1;
  • CeeThreadProgramming . . . . 6 matches
         unsigned Counter;
         unsigned __stdcall ThreadedFunction( void* pArguments )
          unsigned threadID = 1;
          unsigned threadID2 = 2;
         printf("Thread 1 returns: %d\n",iret1);
         printf("Thread 2 returns: %d\n",iret2);
  • DNS와BIND . . . . 6 matches
         서버관리자가 DNS와 BIND에 대해 공부한 내용
         책 - DNS와 BIND, Paul Albitz & Cricket Liu, 이성희 역, 한빛미디어
         = 2. DNS는 어떻게 동작하는가? =
         == DNS 데이터 셋업 ==
          db 파일(DNS 데이터 베이스 파일)
          DNS 리소스 레코드 : db 파일내의 항목들
          리소스 레코드들의 (일반적)순서 - SOA(start of authority) 레코드, NS(name server) 레코드, 기타 레코드, A(address), PTR(pointer), CNAME(canonical name)
          * NS 레코드
         movie.edu. IN NS terminator.movie.edu.
         movie.edu. IN NS wormhole.movie.edu.
         249.249.192.in-addr.arpa. IN NS terminator.movie.edu.
         249.249.192.in-addr.arpa. IN NS wormhole.movie.edu.
         253.253.192.in-addr.arpa. IN NS terminator.movie.edu.
         253.253.192.in-addr.arpa. IN NS wormhole.movie.edu.
         options {
          IN NS terminator.movie.edu.
          IN NS wormhole.movie.edu.
          IN NS terminator.movie.edu.
          IN NS wormhole.movie.edu.
          IN NS terminator.movie.edu.
  • EightQueenProblem/da_answer . . . . 6 matches
         const
          { Private declarations }
          { Public declarations }
         const
          { Private declarations }
          { Public declarations }
  • FundamentalDesignPattern . . . . 6 matches
         == Fundamental Design Patterns ==
         DesignPatterns 의 패턴들에 비해 구현이 간단하면서도 필수적인 패턴. 전체적으로 가장 기본이 되는 소형 패턴들. 다른 패턴들과 같이 이용된다. ["Refactoring"] 을 하면서 어느정도 유도되는 것들도 있겠다. (Delegation의 경우는 사람들이 정식명칭을 모르더라도 이미 쓰고 있을 것이다. Java 에서의 InterfacePattern 도 마찬가지.)
         기본적인 것으로는 Delegation, DoubleDispatch 가 있으며 (SmalltalkBestPracticePattern에서 언급되었던 것 같은데.. 추후 조사), 'Patterns In Java' 라는 책에서는 Delegation 과 Interface, Immutable, MarkerInterface, Proxy 를 든다. (Proxy 는 DesignPatterns 에 있기도 하다.)
         근데, 지금 보면 저건 Patterns in Java 의 관점인 것 같고.. 그렇게 '필수적 패턴' 이란 느낌이 안든다. (Proxy 패턴이 과연 필수개념일까. RPC 구현 원리를 이해한다던지 등등이라면 몰라도.) Patterns in Java 에 있는건 빼버리는 것이 좋을 것 같다는 생각. (DoubleDispatch 는 잘 안이용해서 모르겠고 언어 독립적으로 생각해볼때는 일단은 Delegation 정도만?) --["1002"]
  • HierarchicalDatabaseManagementSystem . . . . 6 matches
         A hierarchical database is a kind of database management system that links records together in a tree data structure such that each record type has only one owner (e.g., an order is owned by only one customer). Hierarchical structures were widely used in the first mainframe database management systems. However, due to their restrictions, they often cannot be used to relate structures that exist in the real world.
         Hierarchical relationships between different types of data can make it very easy to answer some questions, but very difficult to answer others. If a one-to-many relationship is violated (e.g., a patient can have more than one physician) then the hierarchy becomes a network.
  • ISAPI . . . . 6 matches
         Internet Server Application Programming Interface 의 약자로 개발자에게 IIS 의 기능을 확장할 수 있는 방법을 제공한다. 즉, IIS 가 이미 구현한 기능을 사용해서 개발자가 새로운 기능을 구현할 수 있는 IIS SDK 다. 개발자는 ISAPI 를 이용해서 Extensions, Filters 라는 두 가지 형태의 어플리케이션을 개발할 수 있다.
          * Cautions
          * Scailability gains are not necessarily automatic : runs faster than others but there is no guarantee of perfect scalability
          * ISAPI operates below helpful IIS infrastructure : helpful programming abstractions are absent. (ex: session )
  • InvestMulti - 09.22 . . . . 6 matches
         nations={'KOREA':0 ,'JAPAN':700 , 'CHINA':300, 'INDIA':100}
          print 'You consumed ' , user[INVEST] , ' bytes'
          print 'You consumed ' , user[INVEST] , ' bytes'
          print 'You consumed ' , user[INVEST] , ' bytes'
          print 'You consumed ' , user[INVEST] , ' bytes'
          print 'Consider your decide again. You still have some money.'
  • JTDStudy/첫번째과제/정현 . . . . 6 matches
          beholder.setAnswer("111");
          beholder.setAnswer("123");
          beholder.setAnswer("123");
          beholder.setAnswer(this.extractor.getRandomBall());
          public void setAnswer(String string) {
          if(string.contains(String.valueOf(c)))
  • LoveCalculator/zyint . . . . 6 matches
         size_t strlen(const string str);
          vector<string> instr;
          while(cin >> tmp) instr.push_back(tmp);
          for(vector<string>::iterator i=instr.begin();i<instr.end();++i)
         size_t strlen(const string str)
  • LoveCalculator/조현태 . . . . 6 matches
         const int MAX_SIZE_NAME=25;
         const int BACK_SPACE=8;
         const int MAX_SIZE_NAME=25;
         const int BACK_SPACE=8;
         const int ENTER=13;
         으흐.. 맞다!!!! 상수 처리해주는거 난 안했는데. define이나 const 이런거 귀찮아서 자꾸 안하게 되드라 ㅋㅋ ㅠㅠ 반성!!
  • MoinMoinBugs . . . . 6 matches
         Back to MoinMoinTodo | Things that are MoinMoinNotBugs | MoinMoinTests contains tests for many features
         And as a fun sidenote, the UserPreferences cookie doesn't seem to work. The cookie is in my ~/.netscape/cookies file still. My EfnetCeeWiki and XmlWiki cookies are duplicated!? It is kind of like the bug you found when I, ChristianSunesson, tried this feature with netscape just after you deployed it.
          * Check whether the passed WikiName is valid when editing pages (so no pages with an invalid WikiName can be created); this could also partly solve the case-insensitive filename problem (do not save pages with a name only differing in case)
          * InterWiki links should either display the destination Wiki name or generate the A tag with a TITLE attribute so that (at least in IE) the full destination is displayed by floating the cursor over the link. At the moment, it's too hard to figure out where the link goes. With that many InterWiki destinations recognised, we can't expect everyone to be able to recognise the URL.
          * The intent is to not clutter RecentChanges with functions not normally used. I do not see a reason you want the lastest diff when you have the much better diff to your last visit.
          * Hmmm, that '''is''' so. :) Take a look at the message at the top of the diff page after clicking on "updated", it'll often show text like "spanning x versions". You need the current CVS version for that, though.
  • Omok/은지 . . . . 6 matches
         const up = 0x48;
         const down = 0x50;
         const right = 0x4d;
         const left = 0x4b;
         const esc = 0x1b;
         const space = 0x20;
  • OperatingSystemClass/Exam2002_2 . . . . 6 matches
         4. Consider a paging system with the page table stored in memory.
         5. Consider the following page reference string:
         6. Consider a file currently consisting of 100 blocks. Assume that the file control block(and the index block, in the case of indexed allocation) is already in memory, Calculate how many disk I/O operations are required for contiguous, linked and indexed (single-level) allocation strategies, if for one block, the following conditions hold. In the contiguous allocation case, assume that there is no room to grow in the beginning, but there is room to grow in the end. Assume that the block information to be added in stored in memory.
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/허준수 . . . . 6 matches
          myString(const char* ch) {
          myString(const myString& s) {
          int length() const {
          void operator = (const myString& s) {
         ostream& operator << (ostream& o, const myString& s) {
          /*const myString s = "123";
  • OurMajorLangIsCAndCPlusPlus/print/김상섭 . . . . 6 matches
         void print_s(const char * temp, int sort)
         void print_s_a(const char ** temp, int num)
         void print(const char * list, ...)
          print_s(va_arg(args, const char *), sort);
          const char ** temp = va_arg(args, const char **);
  • RelationalDatabaseManagementSystem . . . . 6 matches
         The fundamental assumption of the relational model is that all data are represented as mathematical relations, i.e., a subset of the Cartesian product of n sets. In the mathematical model, reasoning about such data is done in two-valued predicate logic (that is, without NULLs), meaning there are two possible evaluations for each proposition: either true or false. Data are operated upon by means of a relational calculus and algebra.
         The relational data model permits the designer to create a consistent logical model of information, to be refined through database normalization. The access plans and other implementation and operation details are handled by the DBMS engine, and should not be reflected in the logical model. This contrasts with common practice for SQL DBMSs in which performance tuning often requires changes to the logical model.
         The basic principle of the relational model is the Information Principle: all information is represented by data values in relations. Thus, the relvars are not related to each other at design time: rather, designers use the same domain in several relvars, and if one attribute is dependent on another, this dependency is enforced through referential integrity.
  • ReverseAndAdd/곽세환 . . . . 6 matches
         int형을 unsigned로 바꾼후 통과
         unsigned reverse(unsigned p)
          unsigned t = 0;
          unsigned int p; // 입력받은 숫자
          unsigned int re; // 뒤집은 숫자
  • STLPort . . . . 6 matches
         STLport 라이브러리는 SGI(실리콘 그래픽스)의 STL을 여러 가지 운영체제 및 개발 도구에서 쓸 수 있도록 포팅한 것으로, ANSI 표준안을 충실히 따르고 있으며 이외의 비표준 라이브러리도 충실히 구비해 놓고 있는 공개 라이브러리입니다. 게다가 몇가지 장점이 더 붙어 있습니다.
          * Tools 메뉴 > Options 항목 > Directories 탭에서, Include Files 목록에 stlport 디렉토리를 추가하고 나서 이것을 첫 줄로 올립니다.
          1. 도스 프롬프트에서 nmake install을 입력합니다.
          {{{~cpp E:\STLport-4.5.3\src\nmake -f vc6.mak install
          Upload:7-makeInstall.GIF
          * Tools > Options 메뉴 > Directories 탭에서, Include Files 목록에 방금 추가된 stlport 디렉토리(대개 ''C:/Program Files/Microsoft Visual Studio/VC98/include/stlport''이겠지요)를 추가하고 나서, 이 항목을 가장 첫 줄로 올립니다.
         만약에 nmake가 실행되는 데 문제가 있거나 라이브러리 설치가 제대로 되어 있지 않다면, 비주얼 스튜디오에 관련된 환경 변수가 시스템에 제대로 등록되지 않은 이유가 대부분입니다. 그러므로, VCVARS32.BAT를 실행한 후에 다시 nmake install을 해 보세요.
  • SelfDelegation . . . . 6 matches
          void put(const T1& keyObject, const T2& valueObject) {
         void HashTable::put(const T1& keyObject, const T2& valueObject, Dictionary* collection)
         HashTable& Dictionary::hashOf(const T& object) {
         HashTable& IdentityDictionary::hashOf(const T& object) {
  • TAOCP/BasicConcepts . . . . 6 matches
          * Instruction format
          여기서 더해진 주소를 M, M에 들어있는 값을 CONTETNS(M)이라고 한다.
          * Address transfer operators.
         == 1.3.3 Applications to Permutations ==
         MIX 프로그램의 예제를 보여준다. 중요한 순열의 성질(properties of permutations)을 소개한다.
          === Products of permutations ===
  • TheGrandDinner/하기웅 . . . . 6 matches
         bool compareTeam(const Team &a, const Team &b)
         bool compareTeam2(const Team &a, const Team &b)
         bool compareTable(const Table &a, const Table &b)
  • TkinterProgramming/Calculator2 . . . . 6 matches
          self.display.insert(END, '\n')
          self.display.insert(END, '%s\n' % result, 'ans')
          self.display.insert(END, key)
          ('Del', 'Ins', '', KC1, FUN, 'delete'),
          ('(-)', 'ANS', '?', KC2, FUN, 'neg'),
          self.display.tag_config('ans', foreground='white')
  • UDK/2012년스터디/소스 . . . . 6 matches
         // Its behavior is similarly to constructor.
         // Event occured when character logged in(or creation). There are existing function PreLogin, PostLogin functions.
         event PlayerController Login(string portal, string options, const UniqueNetId uniqueID, out string errorMsg)
          pc = super.Login(portal, options, uniqueID, errorMsg);
          DesiredCameraZOffset = (Health > 0) ? - 1.2 * GetCollisionHeight() + Mesh.Translation.Z : 0.f;
  • VendingMachine/세연 . . . . 6 matches
          int _select_money, _select_drink, _insert_amount;
          void insertDrink();
         void VendingMachine::insertDrink()
          cin >> _insert_amount;
          s_drink[_select_drink - 1].amount += _insert_amount;
          VendingMachine.insertDrink();
  • VimSettingForPython . . . . 6 matches
         === Python extension ===
         Python extension 이 설치된 상태에서 사용 가능하다.
         Python extension 을 설치하고 난뒤, BicycleRepairMan 을 install 한다. 그리고 BRM 의 압축화일에 ide-integration/bike.vim 을 VIM 설치 디렉토리에 적절히 복사해준다.
         let g:bike_exceptions = 1
         let g:bike_exceptions = 1
  • 권영기/web crawler . . . . 6 matches
         Type "help", "copyright", "credits" or "license" for more information.
          * 설치 - apt-get install python-wxgtk2.8
          sudo apt-get install libgtkglextmm-x11-1.2-dev
          sudo apt-get install gtk2-engines-pixbuf
          http://stackoverflow.com/questions/8046667/vpython-error-on-ubuntu-11-10
         2. Eclipse에서, Help > Install New Software > Add > PyDev, Http://pydev.org/updates
  • 논문번역/2012년스터디/이민석 . . . . 6 matches
          * 「Experiments in Unconstrained Offline Handwritten Text Recognition」 번역
          * 다음 주까지 1학년 1학기에 배운 Linear Algebra and Its Applications의 1.10, 2.1, 2.2절 번역하기
         == Experiments in Unconstrained Offline Handwritten Text Recognition(제약 없는 오프라인 필기 글자 인식에 관한 실험) ==
         필기 글자 인식은 패턴 인식의 도전적인 분야다. 지금까지의 오프라인 필기 인식 시스템들은 대부분 우편 주소 읽기나 은행 수표 같은 형식을 처리하는 데 적용되었다. [14] 이들 시스템이 개별 글자나 단어 인식에 한정된 반면 제약 없는(unconstrained) 필기 글자 인식을 위한 시스템은 거의 없다. 그 이유는 이러한 작업이 크게 복잡하기 때문인데 글자 또는 단어의 경계에 대한 정보가 없는 데다 헤아릴 수 없을 정도로 어휘가 방대한 것이 특징이다. 그럼에도 필기 글자 인식 기법을 더 조사하는 것이 가치 있는 이유는, 계산 능력이 향삼함에 따라 더욱 복잡한 처리를 할 수 있기 때문이다.
         추가로 Bern 대학의 Institute of Informatics and Applied Mathematics, 즉 Horst Bunke와 Urs-Viktor Marti에게 감사한다. 이들은 우리가 필기 양식 데이터베이스인 IAM[10]을 인식 실험에 쓰는 것을 허락하였다.
         == Linear Algebra and Its Applications (4th ed.) by David C. Lay ==
  • 데블스캠프2006/월요일/함수/문제풀이/이차형 . . . . 6 matches
          int guns=0;
          team684(member, guns, boat);
         bool team684(int member, int guns, int boat)
          cin >> guns;
          if (member>guns)
          if (member<=guns && boat*8>member)
  • 데블스캠프2009/목요일/연습문제/MFC/송지원 . . . . 6 matches
         // Construction
          CTestDlg(CWnd* pParent = NULL); // standard constructor
          // Generated message map functions
          afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         void CTestDlg::OnSysCommand(UINT nID, LPARAM lParam)
          CDialog::OnSysCommand(nID, lParam);
         // to draw the icon. For MFC applications using the document/view model,
  • 데블스캠프2010/일반리스트 . . . . 6 matches
         int fn_qsort_intcmp( const void *a, const void *b )
         // comparison, not case sensitive.
          unsigned int i=0;
          cout << "mylist contains:";
          cout << "mylist contains:";
  • 데블스캠프2011/셋째날/String만들기/김준석 . . . . 6 matches
          String(const char *original){
          String(const String& str, const int offset,const int count){
          char charAt(const int at){
          int compareTo(const char * compare){
  • 숫자를한글로바꾸기/조현태 . . . . 6 matches
         const bool TRUE=1;
         const bool FALSE=0;
         const int MAX_LONG=5;//최대가 5자리 숫자이기때문.
         const int MAX_NUMBER=10000;//최대가 10000이기때문.
          const char NUMBER_TO_HAN[10][3]={"영","일","이","삼","사","오","육","칠","팔","구"};
          const char NUMBER_TO_JARI[5][3]={"","십","백","천","만"};
  • 숫자야구/Leonardong . . . . 6 matches
          int answer[3];
          answer[0]=temp/100;
          answer[1]=(temp%100)/10;
          answer[2]=temp%10;
          if (solution[i]==answer[i])
          if (solution[j]==answer[i])
  • 알고리즘8주숙제/문보창 . . . . 6 matches
          bool operator() (const Data* a, const Data* b)
         bool compare(const Data* a, const Data* b)
         void insertNode(int i)
          insertNode(i);
  • 인터프리터/권정욱 . . . . 6 matches
          string instruction;
          fin >> instruction;
          if (instruction[0] != '*') {
          num[array] = instruction;
          else array = atoi(instruction.substr(1, 2).c_str());
          cout << instruction[i];
  • 주민등록번호확인하기/조현태 . . . . 6 matches
         const int BACK_SPACE=8;
         const int CHAR_TO_NUMBER=48;
         const int BACK_SPACE=8;
         const int CHAR_TO_NUMBER=48;
         const int BACK_SPACE=8;
         const int CHAR_TO_NUMBER=48;
  • 5인용C++스터디/멀티미디어 . . . . 5 matches
          리소스에 포함된 사운드를 연주하려면 PlaySound의 세 번째 인수에 SND_RESOURCE 플래그를 주고 첫 번째 인수에 리소스의 ID를 준다. 두 번째 인수에는 리소스를 가진 실행파일의 인스턴스 핸들을 주어야 하는데 MFC에서는 AfxGetInstanceHandle() 전역함수로 인스턴스 핸들을 구할 수 있다. 다음과 같이 코드를 작성해 보자.
          PlaySound(MAKEINTRESOURCE(IDR_WAVE1), AfxGetInstanceHandle(), SND_RESOURCE | SND_ASYNC);
          hWndAVI=MCIWndCreate(this->m_hWnd, AfxGetInstanceHandle(), 0, "cf3.avi");
         HWND MCIWndCreate(HWND hwndParent, HINSTANCE hinstance, DWORD dwStyle, LPSTR szFile);
         hInstance: MCIWnd롤 사용하는 인스턴스 핸들을 지정한다.
  • 5인용C++스터디/윈도우에그림그리기 . . . . 5 matches
         int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmdLine, int nCmdShow)
          wc.hInstance=hInst;
          hWnd=CreateWindow(szClassName,szTitleName, WS_OVERLAPPEDWINDOW,100,90,320,240,NULL,NULL,hInst,NULL);
          TranslateMessage(&mSg);
          static int nSX,nSY,nEX,nEY;
          nSX=LOWORD(lParam);
          nSY=HIWORD(lParam);
          MoveToEx(hDC,nSX,nSY,&pt);
          Ellipse(hDC,nSX,nSY,nEX,nEY);
  • 5인용C++스터디/타이머보충 . . . . 5 matches
         #include <afxext.h> // MFC extensions
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // Generated message map functions
  • ATmega163 . . . . 5 matches
          * 130 Powerful Instruction - RISC MPU
          c:\avrgcc>에서 install을 실행 시킨 후 바탕화면의 avr-gcc 배치파일을 이용해 도스창을 열어서 쓴다.
         #INCDIR means .h file search path
         #put the name of the target file here (without extension)
         #INCDIR means .h file search path
  • AcceleratedC++/Chapter1 . . . . 5 matches
          const std::string greeting = "Hello, " + name + "!";
          const std::string spaces(greeting.size(), ' ');
          const std::string second = "* " + spaces + " *";
          const std::string first(second.size(), '*');
         초기화, end-of-file, buffer, flush, overload, const, associativity(결합방식), 멤버함수, 기본 내장 타입, 기본타입(built-in type)
  • AcceleratedC++/Chapter2 . . . . 5 matches
          const string greeting = "Hello, " + name + "!";
          const int pad = 1;
          // the number of rows and columns to write
          const int rows = pad * 2 + 3;
          const string::size_type cols = greeting.size() + pad * 2 + 2;
  • BasicJAVA2005/실습2/허아영 . . . . 5 matches
          private JButton buttons[];
          buttons = new JButton[25];
          buttons[count] = new JButton(Integer.toString(count));
          buttons[count].addActionListener(this);
          container.add(buttons[count]);
  • C++/SmartPointer . . . . 5 matches
          SmartPtr(const SmartPtr<_Ty>& _Y) throw ()
          SmartPtr<_Ty>& operator=(const SmartPtr<_Ty>& _Y) throw ()
          _Ty& operator*() const throw ()
          _Ty *operator->() const throw ()
          _Ty *get() const throw ()
  • CCNA/2013스터디 . . . . 5 matches
          || 4계층 || 트랜스포트 계층 (Transport Layer) || 출발지와 목적지간의 연결 수립 ||
          * TCP (Transmission Control Protocol)과 UDP (User Datagram Protocol)이 주요 프로토콜
          * 전송기(Transmitter)와 수신기(Receiver)를 하나로 합친 장비
          - CS(Carrier Sense) : 호스트가 프레임을 전송하기 전에 현재 전송 중인 호스트가 있는지 체크함.
          * CHAP..MD5 알고리즘 이용 - 패스워드 암호화(Chanllenge) -> Response -> Accept/Reject
  • CPPStudy_2005_1/STL성적처리_3 . . . . 5 matches
          unsigned int total;
         bool zcompare(const student_type ele1, const student_type ele2); //sort시 비교 조건
         bool zcompare(const student_type ele1, const student_type ele2)
  • CollaborativeFiltering . . . . 5 matches
          * Constrained Pearson correlation
          * Best-n correlations
          * [http://zeropage.org/pds/200272105129/콜레보레이티브필터링p77-konstan.pdf CACM 1997 Mar]
          * [http://www.cs.umn.edu/Research/GroupLens/ CF의 아버지 Resnick이 만든 최초의 뉴스 CF 시스템 GroupLens]
  • CppStudy_2002_1/과제1/CherryBoy . . . . 5 matches
         const int Len=40;
         void setgolf(golf & g, const char * name, int hc);
         void showgolf(const golf & g);
         void setgolf(golf & g, const char * name, int hc)
         void showgolf(const golf & g)
  • DPSCChapter5 . . . . 5 matches
         = Behavioral Patterns =
         '''Chain of Responsibility(225)''' Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects, and pass the request along the chain until an object handles it.
         '''Command(245)''' Encapsulate a request or operation as an object, thereby letting you parameterize clients with different operations, queue or log requests, and support undoable operations.
         '''Chain of Responsibility(225)'''
  • DevelopmentinWindows . . . . 5 matches
          * Console 서브시스템 - 텍스트 모드 에플리케이션 운영
          ||BYTE||unsigned char||
          ||DWORD||unsigned long||
          ||UINT||unsigned int||
          ||WORD||unsigned short||
  • DoWeHaveToStudyDesignPatterns . . . . 5 matches
         우리(컴퓨터공학과 학부생)가 DesignPatterns를 공부해야만 하거나 혹은 할 필요가 있을까?
         제 개인적인 의견으로는, 다른 것들과 마찬가지로 뭐든지 공부한다고 해서 크게 해가 되지는 않겠지만(해가 되는 경우도 있습니다 -- 다익스트라가 BASIC을 배워 본 적이 있는 학생은 아예 받지 않았다는 것이 한 예가 될까요?) 공부해야 할 필요가 있겠는가라는 질문에는 선뜻 "그렇다"고 답하기가 쉽지 않습니다. 여기에는 몇가지 이유가 있습니다. (제 글을 "DesignPatterns를 공부하지 마라"는 말로 오해하지는 말아 주기 바랍니다)
         우선 효율성과 순서의 문제입니다. DesignPatterns는 이미 해당 DesignPatterns를 자신의 컨텍스트에서 나름대로 경험했지만 아직 인식하고 있지는 않는 사람들이 공부하기에 좋습니다. 그렇지 않은 사람이 공부하는 경우, 투여해야할 시간은 시간대로 들고 그에 비해 얻는 것은 별로 없습니다. 어찌 보면 아이러니칼하지만, 어떤 디자인 패턴을 보고 단박에 이해가 되고 "그래 바로 이거야!"라는 생각이 든다면 그 사람은 해당 디자인 패턴을 공부하면 많은 것을 얻을 겁니다. 하지만, 잘 이해도 안되고 필요성도 못 느낀다면 지금은 때가 아니라고 생각하고 책을 덮는 게 낫습니다. 일단은 다양한 프로그램들을 "처음부터 끝까지" 개발해 보는 것이 중요하지 않나 생각합니다. (see also [WhatToProgram])
         다음은 우선성의 문제입니다. 과연 DesignPatterns라는 것이 학부시절에 몇 달을 투자(실제로 제대로 공부하려면 한 달로는 어림도 없습니다)할만 한 가치가 있냐 이거죠. 기회비용을 생각해 봅시다. 좀 더 근본적인 것(FocusOnFundamentals)을 공부하는 것은 어떨까요?
  • DylanProgrammingLanguage . . . . 5 matches
         Dylan is an advanced, object-oriented, dynamic language which supports rapid program development. When needed, programs can be optimized for more efficient execution by supplying more type information to the compiler. Nearly all entities in Dylan (including functions, classes, and basic data types such as integers) are first class objects. Additionally Dylan supports multiple inheritance, polymorphism, multiple dispatch, keyword arguments, object introspection, macros, and many other advanced features... --Peter Hinely
         License: Functional Objects Library Public License Version 1.0
         Dual-license: GNU Lesser General Public License
  • EnglishSpeaking/2012년스터디 . . . . 5 matches
          * [http://www.bombenglish.com/2008/01/27/1-host-introductions/ Bomb English - Episode 1]
          * Today, we were little confused by Yunji's appearance. We expected conversation between 2 persons but there were 3 persons who take part in episode 2. And we made a mistake about deviding part. Next time, when we get 3 persons' conversation again, we should pay attention to devide part equally. Or we can do line by line reading instead of role playing.
  • GDBUsage . . . . 5 matches
         The GNU Debugger, usually called just GDB, is the standard debugger for the GNU software system. It is a portable debugger that runs on many Unix-like systems and works for many programming languages, including C, C++, and FORTRAN.
         GDB is free software, covered by the GNU General Public License, and you are
         welcome to change it and/or distribute copies of it under certain conditions.
         Type "show copying" to see the conditions.
          FILE:FUNCTION, to distinguish among like-named static functions.
  • GRASP . . . . 5 matches
         '''''이 내용은 Applying UML and Patterns CHAPTER 22 [GRASP]에서 얻어온 것입니다'''''
         === Related Patterns ===
          Protected Variations
         === Related Patterns ===
         == Protected Variations ==
  • Google/GoogleTalk . . . . 5 matches
          my $response = $browser->get($url->as_string, 'User-Agent'=>'Mozilla' );
          if($response->is_success)
          my $res = $response->content;
          print "Response:\n$res\n" if $debug;
          print $response->error_as_HTML if $debug;
  • HelpOnLinking . . . . 5 matches
          * {{{[Hello World]}}} link to [HelloWorld] (no space inserted)
         If you want to insert a space, use {{{["Hello World"]}}}
          * {{{[[Hello World]]}}} link to ![[Hello World]] (no space inserted)
         혹은 페이지별로 !WikiName식 링크 기능을 비활성화/활성화 하려면 `#camelcase` 혹은 `#camelcase 0` 를 페이지 최상단에 넣어줍니다. (ProcessingInstructions 참조)
  • HolubOnPatterns . . . . 5 matches
          * [http://www.yes24.com/24/Goods/2127215?Acode=101 Holub on Patterns: 실전 코드로 배우는 실용주의 디자인 패턴] - 번역서
          * [http://www.yes24.com/24/goods/1444142?scode=032&OzSrank=1 Holub on Patterns: Learning Design Patterns by Looking at Code] - 원서
          * [DesignPatterns/2011년스터디]
          * [HolubOnPatterns/밑줄긋기]
  • HowManyFibs?/문보창 . . . . 5 matches
          int response;
          response = inA.isBigThan(pib[i]);
          if (response != BIG)
          response = inB.isBigThan(pib[i]);
          if (response == SMALL)
  • HowToBuildConceptMap . . . . 5 matches
          * Connect the concepts by lines. Label the lines with one or a few linking words. The linking words should define the relationship between the two concepts so that it reads as a valid statement or proposition. The connection creates meaning. When you hierarchically link together a large number of related ideas, you can see the structure of meaning for a given subject domain.
          * Rework the structure of your map, which may include adding, subtracting, or changing superordinate concepts. You may need to do this reworking several times, and in fact this process can go on idenfinitely as you gain new knowledge or new insights. This is where Post-its are helpful, or better still, computer software for creating maps.
          * Look for crosslinks between concepts in different sections of the map and label these lines. Crosslinks can often help to see new, creative relationships in the knowledge domain.
          * Concept maps could be made in many different forms for the same set of concepts. There is no one way to draw a concept map. As your understanding of relationships between concepts changes, so will your maps.
  • InterMap . . . . 5 matches
         OrgPatterns http://www.bell-labs.com/cgi-user/OrgPatterns/OrgPatterns?
         NoSmok http://no-smok.net/nsmk/
         NoSmoke http://no-smok.net/nsmk/
  • InterWikiIcons . . . . 5 matches
         The InterWiki Icon is the cute, little picture that appears in front of a link instead of the prefix established by InterWiki. An icon exists for some, but not all InterMap references.
          * MoinMoin:MoinMoinDiscussions
         == Discussions ==
         Any recommendations on what software to use to shrink an image to appropriate size?
         For more information, check http://puzzlet.org/plots/InterWikiIcons
  • JTDStudy/첫번째과제/영준 . . . . 5 matches
          int answer = Integer.parseInt(JOptionPane.showInputDialog("세자리수를 입력하세요"));
          temp[0] = answer/100;
          temp[1] = answer/10%10;
          temp[2] = answer%10;
          JOptionPane.showMessageDialog(null, "your answer is right!");
  • JollyJumpers/조현태 . . . . 5 matches
         using System.Collections.Generic;
          String text = System.Console.ReadLine();
          System.Console.WriteLine("Jolly");
          System.Console.WriteLine("Not jolly");
          text = System.Console.ReadLine();
  • LC-Display/문보창 . . . . 5 matches
         const int MAX_LINE = 2000; // test case의 수
         const int MAX_ROW = 23;
         const int MAX_COL = 103;
         void makeDisplay(Digit * d, const int line);
         void makeDisplay(Digit * d, const int line)
  • LawOfDemeter . . . . 5 matches
         What that means is that the more objects you talk to, the more you run the risk of getting broken when one
         This is what we are trying to prevent. (We also have an example of Asking instead of Telling in foo.getKey
         Instead, this should be:
         enough to have been a responsibility, not too dependent on implementation.
         evaluate class invariants, pre- and post-conditions.
  • MySQL . . . . 5 matches
         insert user values('localhost', 'jeppy', password('암호'), 'y','y','y','y','y','y','y','y','y','y','y','y','y','y');
         insert user values('%', 'jeppy', password('암호'), 'y','y','y','y','y','y','y','y','y','y','y','y','y','y');
         === MySQL & Transaction ===
         [http://network.hanbitbook.co.kr/view_news.htm?serial=131 MySQL과 Transaction] 테이블 생성시 InnoDB 나 BSDDB 를 사용하면 Transaction 을 이용할 수 있다. (InnoDB 추천)
  • NetworkDatabaseManagementSystem . . . . 5 matches
         The network model is a database model conceived as flexible way of representing objects and their relationships. Its original inventor was Charles Bachman, and it was developed into a standard specification published in 1969 by the CODASYL Consortium. Where the hierarchical model structures data as a tree of records, with each record having one parent record and many children, the network model allows each record to have multiple parent and child records, forming a lattice structure.
         The chief argument in favour of the network model, in comparison to the hierarchic model, was that it allowed a more natural modeling of relationships between entities. Although the model was widely implemented and used, it failed to become dominant for two main reasons. Firstly, IBM chose to stick to the hierarchical model in their established products such as IMS and DL/I. Secondly, it was eventually displaced by the relational model, which offered a higher-level, more declarative interface. Until the early 1980s the performance benefits of the low-level navigational interfaces offered by hierarchical and network databases were persuasive for many large-scale applications, but as hardware became faster, the extra productivity and flexibility of relational systems won the day.
  • NotToolsButConcepts . . . . 5 matches
         job descriptions most of the time. But software development isn't that much
         > I am only 17 and I'm only making plans, so if you have any suggestions
          * Goto 쓰지 마라! 가 아닌 GotoConsideredHarmful 같은 이야기
         Teach them skepticism about tools, and explain how the state of the software development art (in terms of platforms, techniques, and paradigms) always runs slightly ahead of tool support, so those who aren't dependent on fancy tools have an advantage. --Glenn Vanderburg, see Seminar:AgilityForStudents
  • OpenGL스터디_실습 코드 . . . . 5 matches
          // Restore transformations
          // Set Viewport to window dimensions
          //register GLUT_STENCIL(because of stencil buffer), if you want to use stensil function.
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/하기웅 . . . . 5 matches
          int length() const
         ostream& operator << (ostream& o, const newstring& ns)
          cout << ns.str;
          const newstring s="123";
  • OurMajorLangIsCAndCPlusPlus/setjmp.c . . . . 5 matches
         // modification, are permitted provided that the following conditions
         // 1. Redistributions of source code must retain the above copyright
         // notice, this list of conditions and the following disclaimer.
         // 2. Redistributions in binary form must reproduce the above copyright
         // notice, this list of conditions and the following disclaimer in the
         // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  • PatternCatalog . . . . 5 matches
         == Creational Patterns ==
         == Structural Patterns ==
         == Behavioral Patterns ==
          * ["ChainOfResponsibilityPattern"]
          * ["Gof/ChainOfResponsibility"]
  • ProgrammingLanguageClass/Report2002_1 . . . . 5 matches
          * Internal/external documentations
          | <constant>
         <constant> → any decimal numbers
          * <identifier>와 <constant>의 경우에는 찾아진 lexeme을 함께 출력한다.
          <constant>: 428 parsed.
  • ProjectPrometheus/LibraryCgiAnalysis . . . . 5 matches
          response = conn.getresponse()
          print response.status, response.reason
          data = response.read()
  • ProjectVirush/Prototype . . . . 5 matches
         #include <winsock2.h>
          server_addr.sin_port = htons(PORT);
          printf( "I have to answer the next question. %s\n", question);
          printf( "I sent an answer. The answer is %s\r\n", msg);
  • ProjectZephyrus/ServerJourney . . . . 5 matches
         java.lang.ClassCastException: command.InsertBuddyCmd
          * ok 완료. 문제는 내가 {{{~cpp command.CommandManager.getCommand()}}}에서 해당 패킷에서 {{{~cpp DeleteBuddy}}} 객체를 만든게 아니라 {{{~cpp InsertBuddy}}} 객체를 만들어 주어서 였다. 금요일에 pair시 이부분을 그대로 복사해서 붙여 두었었거든, 한줄 바로 잡으니 잘 돌아 간다. 네 의도대로 인지, 테스트 해봐라 --상민
          * {{{~cpp InsertBuddyCmd }}} 완료 30~40분 정도 걸림
          * 앗싸 재동이에게 사기 쳤다. initinstance 부분에서 점선으로 초기화 되는 과정에 대하여 표현이 잘못 되었었군. 재동 말이 맞았음 역시나 방학때 다시 한번 훌터 봐야 할듯 바보 같이
          * 상규와 DB query를 console에서 날리고 받아 출력해 주는 간단한 프로그램 작성했다. 해놓고 보니 재미있다는 생각이 듬. 확장 시키면 간단한 클라이언트로 써먹을만 할것 같다.
  • PythonNetworkProgramming . . . . 5 matches
         만일 winsock 을 쓰고 싶다면 windows extension libary 들을 설치해주면 된다.
          clientConnection, address = self.server.listenSock.accept()
          self.server.listenSock.close()
          self.listenSock = socket(AF_INET, SOCK_STREAM, IPPROTO_IP)
          self.listenSock.bind(here)
          self.listenSock.listen(5)
         ClientConnections = []
          for conn in ClientConnections:
          ClientConnections.append (conn)
  • Refactoring/ComposingMethods . . . . 5 matches
          * You have a code fragment that can be grouped together.[[BR]]''Turn the fragment into a method whose name explains the purpose of the method.''
          * You have a complicated expression. [[BR]] ''Put the result of the expression, or parts of the expression,in a temporary variagle with a name that explains the purpose.''
          * The code assigns to a parameter. ''Use a temporary variagle instead.''
          if (candidates.contains(people[i]))
  • Refactoring/DealingWithGeneralization . . . . 5 matches
         == Pull Up Constructor Body ==
          * You have constructors on subclasses with mostly identical bodies.[[BR]]''Create a superclass constructor; class this from the subclass methods.''
          * A class has features that are used only in some instances.[[BR]]''Create a subclass for that subset of features.''
          * You're using delegation and are ofter writing many simple delegations for the entire interface.[[BR]]''Make the delegating class a subclass of the delegate.''
  • Refactoring/MovingFeaturesBetweenObjects . . . . 5 matches
         ''Create a method in the client class with an instance of the server class as its first argument.''
         == Introduce Local Extension ==
         ''Create a new class that contains these extra methods. Make the extension class a subclass or a wapper of the original.''
         http://zeropage.org/~reset/zb/data/IntroduceLocalExtension.gif
  • Refactoring/OrganizingData . . . . 5 matches
          * You have a class with many equal instances that you want to replace with a single object. [[BR]] ''Turn the object into a reference object.''
          row.setWins("15");
         == Replace Magic Number with Symbolic Constant p204 ==
          * You have a literal number with a paricular meaning. [[BR]] ''Crate a constant, name it after the meaning, and replace the number with it.''
          return mass * GRAVITATION_CONSTNAT * height;
          static final double GRAVITATIONAL_CONSTANT = 9,81;
          * You have subclasses that vary only in methods that return constant data.[[BR]]''Change the mehtods to superclass fields and eliminate the subclasses.''
  • TestDrivenDatabaseDevelopment . . . . 5 matches
          public void setUp() throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException {
          public void testArticleTableInitialize() throws ClassNotFoundException, IllegalAccessException, InstantiationException, SQLException {
          private void initConnection() throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException {
          Class.forName("com.mysql.jdbc.Driver").newInstance();
          public void testDuplicatedInitialize() throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException {
  • TopicMap . . . . 5 matches
         TopicMap''''''s are pages that contain markup similar to ['''include'''] (maybe ['''refer'''] or ['''toc''']), but the normal page layout and the ''print layout'' differ: expansion of the includes only happens in the print view. The net result is that one can extract nice papers from a Wiki, without breaking its hyper-linked nature.
         I plan to use [ ] with a consistent syntax for such things. How do you mean the external link thing? Including other web pages, or "only" other Wiki pages?
         Could you provide a more involved example markup and its corresponding rendering? As far as I understand it, you want to serialize a wiki, correct? You should ask yourself what you want to do with circular references. You could either disallow them or limit the recursion. What does "map" do? See also wiki:MeatBall:TransClusion''''''. -- SunirShah
         OK, concrete example. Consider this:
  • WhyWikiWorks . . . . 5 matches
          * any and all information can be deleted by anyone. Wiki pages represent nothing but discussion and consensus because it's much easier to delete flames, spam and trivia than to indulge them. What remains is naturally meaningful.
          * wiki is far from real time. Folk have time to think, often days or weeks, before they follow up some wiki page. So what people write is well-considered.
         So that's it - insecure, indiscriminate, user-hostile, slow, and full of difficult, nit-picking people. Any other online community would count each of these strengths as a terrible flaw. Perhaps wiki works because the other online communities don't. --PeterMerel
  • WinSock . . . . 5 matches
         다음은 화일보내고 받기 관련 Winsock API 간단 예제. (옛날 예제삼아 만든 소스여서 직관적이지가 않긴 하군 -_-; 그냥 이해의 차원정도)
         #include <winsock2.h>
          int nSended;
          nSended = send (socket, szBuffer, nRead, NULL);
          i+= max (0, nSended);
          if (nSended == SOCKET_ERROR) {
          printf ("Current : %d / %d (%d)n", dwLow, i, nSended);
          local.sin_port = htons (5000);
         #include <winsock2.h>
          int nSize;
          ServerAddress.sin_port = htons( 1002 ); //포트번호
  • XMLStudy_2002/Start . . . . 5 matches
          1. Processing Instructions(Optional) : XML문서를 어떻게 처리해야 할지를 기술해 주는 부분
         === Processing Instructions(PI) ===
         <CHAPTER_TITLE>Chapter1.Instruction</CHAPTER_TITLE>
  • ZeroPage_200_OK/note . . . . 5 matches
          * 1. create instance
          * 2. instance.__proto__ = Person.prototype;
          * 3. 실행문맥을 instance로 한 생성자를 호출한다.
          * instance의 __proto__에서 찾고 없으면 그위에 __proto__에서 찾고...
          * standard Output에는 response body를 넘긴다.
  • [Lovely]boy^_^/Arcanoid . . . . 5 matches
          * When a ball collides with a moving bar, its angle changes, but it's crude. Maybe it is hard that maintains a speed of a ball.
          * I resolve a problem of multi media timer(10/16). its problem is a size of a object. if its size is bigger than some size, its translation takes long time. So I reduce a size of a object to 1/4, and game can process 1ms of multi media timer.
          * Now sources become very dirty, because I add a new game skill. I always try to eliminate a duplication, and my source has few duplication. but method's length is so long, and responsiblity of classes is not divided appropriately. All collision routine is focusing on CArcaBall class.
          * I don't want pointers in container, so I had to make a copy constructor, substitute operator.--;
          * I change a design of a arcanoid. - previous version is distribute, but this version is that god class(CArcanoidDoc)' admins a total routine. in my opinion, it's more far from OOP.--;
  • [Lovely]boy^_^/Diary/2-2-10 . . . . 5 matches
          * SBPP 2장 Patterns 읽었다.
          * ["SmalltalkBestPracticePatterns/Behavior/ComposedMethod"] 읽고 요약.
          * The XB Project starts really. A customer is Jae-dong. So we determine to programm network othelo, that Jae-dong's preparation. At first, we start hopefully, but..--; after all integration is failed. In our opinion, we start beginner's mind. but we learned much, and interested it. And new customer is Hye-sun. Since now, our project begins really. Since tomorrow, during 2 weeks, we'll focus on TDD and pair programming with simple programming.
          * I read the SBPP's 2nd chapter - Patterns -.
          * ["SmalltalkBestPracticePatterns/Behavior/ComposedMethod"] read and summary.
  • [Lovely]boy^_^/EnglishGrammer/QuestionsAndAuxiliaryVerbs . . . . 5 matches
         = Questions And Auxiliary Verbs =
         == 46. Questions (1) ==
          A. In Questions, we usually put the first auxiliary verb(AV) before the subject(S)
          B. In simple present questions, we use do/does(do/does)
          In simple past questions, we use did
  • [Lovely]boy^_^/USACO/YourRideIsHere . . . . 5 matches
         bool IsSameCode(const string& comet, const string& group);
         bool IsSameCode(const string& comet, const string& group)
          basic_string<char>::const_iterator i;
  • django/ModifyingObject . . . . 5 matches
         = insert & update =
         SQL문에서는 insert into values 구문을 이용해 레코드를 삽입하고, update set where 구문을 이용해 레코드를 수정한다. 하지만 django는 이 둘을 하나로 보고 데이터베이스에 레코드를 삽입하고 갱신하는 작업을, 모델로 만든 객체를 저장(save)하는 것으로 추상화했다. 기본적으로 모델클래스는 save메소드를 가진다. 따라서 개발자가 작성한 모델도 save메소드를 가지며, 이는 오버라이딩 할 수 있다. 아래 예에서 보듯이 save 메소드는 새로만든 레코드 필드의 속성에 따라서 적당히 삽입과 갱신 작업을 수행한다.
         e.save() # insert
         Upload:Screenshot-save.png
          # First, try an UPDATE. If that doesn't update anything, do an INSERT.
          cursor.execute("INSERT INTO %s (%s) VALUES (%s)" %
         데이터베이스에서 레코드를 삭제하는 작업은 Model클래스의 delete메소드로 추상화했다. 하지만 내부에서 실제로 레코드를 삭제하는 메소드는 delete_objects이다.[8] delete_objects메소드는 지우려는 레코드를 참조하는 다른 테이블의 레코드까지 함께 삭제하거나, 외래키를 NULL값으로 설정한다. 예를 들어 다음은 Risk테이블에서 한 레코드를 삭제하는 경우 이를 참조하는 Consequence, Control 테이블의 레코드까지 함께 삭제하는지를 묻는 사용자 화면이다.
  • html5practice/즐겨찾기목록만들기 . . . . 5 matches
         <html xmlns="http://www.w3.org/1999/xhtml">
          console.log(eTD.innerHTML);
          console.log(eTD.innerHTML);
          console.log("do show all");
          console.log("end do show all");
  • 개인키,공개키/김회영,권정욱 . . . . 5 matches
         const int key = 50;
         const int askii = 256;
          char unsecret[30];
          cin >> unsecret >> key2;
          ifstream ffin(unsecret);
  • 나를만든책장관리시스템/DBSchema . . . . 5 matches
         || bID || unsigned int || ID, PK ||
         || cID || unsigned int || ID, PK ||
         || cBook || unsigned int || FK references bm_tblBook(bID) on delete no action on update cascade ||
         || rID || unsigned int || ID, PK ||
         || rBook || unsigned int || FK refereneces bm_tblBook(bID) on delete no action on update cascade ||
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/박재홍 . . . . 5 matches
          int defense;
          a.defense=0;
          b.defense=0;
          dam1=a.attack-b.defense;
          dam2=b.attack-a.defense;
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/김동준 . . . . 5 matches
          private int notInSectionArticleSum = 0;
          private int notInSectionWordSum = 0;
          private int notInSectionWordTotalSum = 0;
          private void CalculateNotInSection(int index) {
          this.notInSectionArticleSum = 0;
          if(i != index) { notInSectionArticleSum += sectionTrain[i].getSectionArticleNumber(); }
          this.notInSectionWordTotalSum = 0;
          if(i != index) { notInSectionWordTotalSum += sectionTrain[i].getSectionWordsNumber(); }
          private void CalculateNotInSectionWord(int index, String word) {
          this.notInSectionWordSum = 0;
          if(i != index) { notInSectionWordSum += sectionTrain[i].getSectionWordNumber(word); }
          double reslt = getLnPsPns(index);
          reslt += getLnPwsPwns(index, wordTmp);
          private double getLnPsPns(int index) {
          return Math.log((double)sectionTrain[index].getSectionArticleNumber() / notInSectionArticleSum);
          private double getLnPwsPwns(int index, String word) {
          CalculateNotInSectionWord(index, word);
          return Math.log(((double)sectionTrain[index].getSectionWordNumber(word) / sectionTrain[index].getSectionWordsNumber()) / ((double)ArticleAdvantage(index, word) / notInSectionWordTotalSum));
          CalculateNotInSection(index);
          System.out.println("Right : " + posiNum + " Wrong : " + negaNum + " Result : " + (getLnPsPns(index) + ((double)posiNum / (posiNum+negaNum))));
  • 디자인패턴 . . . . 5 matches
          * [http://www.cmcrossroads.com/bradapp/docs/pizza-inv.html - Pizza Inversion - a Pattern for Efficient Resource Consumption]
         DesignPatterns 의 WhatToExpectFromDesignPatterns 를 참조하는 것도 좋겠네요.
         HowToStudyDesignPatterns 페이지를 참조하세요.
          * http://www.econ.kuleuven.ac.be/tew/academic/infosys/Members/Snoeck/litmus2.ps - Design Patterns As Litmus Paper To Test The Strength Of Object Oriented Methods
  • 몸짱프로젝트/BinarySearch . . . . 5 matches
         const int SIZE = 10;
         int search(const int aArr[], const int aNum, int front, int rear);
         int search(const int aArr[], const int aNum, int front, int rear)
  • 몸짱프로젝트/CrossReference . . . . 5 matches
         void insertToNode(Node * ptr, string aWord, int aLineCount);
          insertToNode(root, word, lineCount);
          insertToNode(root, word, lineCount);
         void insertToNode(Node * ptr, string aWord, int aLineCount)
         const int MAX_LEN = 20;
  • 보드카페 관리 프로그램 . . . . 5 matches
         table3 : 2 persons : in 3:00
         table3 : 2 persons : in 3:30
         3:00 ~ 4:00 : 2 persons : 3000 won
         table3 : 2 persons : in 3:00
         3:00 ~ 4:00 : 2 persons : 3 drink :4500 won
  • 비행기게임/BasisSource . . . . 5 matches
         def main(winstyle = 0):
          winstyle = 0
          bestdepth = pygame.display.mode_ok(SCREENRECT.size, winstyle,32)
          screen = pygame.display.set_mode(SCREENRECT.size, winstyle,bestdepth)
          #assign instance ty each class
  • 빵페이지/숫자야구 . . . . 5 matches
         난수생성 참고자료 : RandomFunction , WindowsConsoleControl
          - 무엇이든 100% 좋고 100% 나쁜것은 없습니다. dijkstra 할아버지가 goto 를 쓰지 말라고 하셨을 때도 달리 생각하는 많은 아저씨들이 수많은 논문을 썼고 이로 인해 많은 논쟁이 있었습니다. 중요한것은 ''좋으냐? 혹은 나쁘냐?'' 가 아니라 그 결론에 이루어지기까지의 과정입니다. SeeAlso NotToolsButConcepts Seminar:컴퓨터고전 [http://www.google.co.kr/search?q=goto+statements+considered+harmful&ie=UTF-8&hl=ko&btnG=%EA%B5%AC%EA%B8%80+%EA%B2%80%EC%83%89&lr= Goto Statements Considered Harmful의 구글 검색결과] Wiki:GotoConsideredHarmful - [임인택]
          * goto 문에 관한 것은 도서관에서 ''마이크로소프트웨어 2003년 4월호'' '''''다익스트라가 goto에 시비(?)를 건 진짜 이유는 ''''' 이라는 기사를 보세요. 2003년에 GotoConsideredHarmful 을 스터디 한후에 토론하고 작성된 기사입니다. Dijkstra 의 심오한 생각들이 묻어 있을겁니다. --[아무개]
  • 새싹교실/2011/Noname . . . . 5 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
          case constant-expression :
          case constant-expression :
          case constant-expression :
  • 새싹교실/2012/AClass/3회차 . . . . 5 matches
         arr = (int *)malloc(sizeof(int)*nSize); // malloc으로 nSize만큼 int 형 배열을 생성
         void insert(int vall)
          int insert_num;
          scanf("%d", &insert_num);
          insert(insert_num);
  • 수학의정석/방정식/조현태 . . . . 5 matches
         const int MINUTE=60;
          double answer=sqrt((float)(y*y+t*t*x*x));
          answer+=y;answer/=t;
          printf("%.2f",answer);
  • 숫자야구/곽세환 . . . . 5 matches
          int ques[3], ans[3];
          ans[0] = input / 100;
          ans[1] = (input % 100) / 10;
          ans[2] = input % 10;
          if (ques[i] == ans[j])
  • 알고리즘8주숙제 . . . . 5 matches
         ==== 1. Friendly Coins ====
         Given the denominations of coins for a newly founded country, the Dairy Republic, and some monetary amount, find the smallest set of coins that sums to that amount. The Dairy Republic is guaranteed to have a 1 cent coin.
         Consider the problem of scheduling n jobs on one machine. Describe an algorithm to find a schedule such that its average completion time is minimum. Prove the correctness of your algorithm.
  • 이차함수그리기/조현태 . . . . 5 matches
         const int MIN_X=-5;
         const int MAX_X=5;
         const float TAB_X=1;
         const float TAB_Y=0.5;
          SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), Pos);
  • 정모/2011.4.11 . . . . 5 matches
          * [DesignPatterns/2011년스터디]
          * [HolubOnPatterns]를 읽으면서 스터디하고 DB 프로젝트를 통해 실습한다.
          * DesignPatterns에 대해 궁금하다면 ZeroWiki의 관련 페이지를 읽어보세요.
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 최소정수의합/나휘동 . . . . 5 matches
         minsum s n
          | sum [1..n] < s = minsum s (n+1)
         minsum s n
          | naturalSum n < s = minsum s (n+1)
         minsum 3000 1
  • 프로그래밍잔치/SmallTalk . . . . 5 matches
          instanceVariableNames: ''
          Transcript show: 'Hello World'.
          instanceVariableNames: ''
          :i | Transcript cr; show: i asString, 'dan'.
          :j | Transcript cr; show: i asString, ' * ', j asString, ' = ', (i*j) asString.
  • 2학기파이선스터디/모듈 . . . . 4 matches
         ['__builtins__', '__doc__', '__file__', '__name__', 'add', 'c', 'mul']
         ['_StringTypes', '__builtins__', '__doc__', '__file__', '__name__', '_float', '_idmap', '_idmapL', '_int', '_long', 'ascii_letters', 'ascii_lowercase', 'ascii_uppercase', 'atof', 'atof_error', 'atoi', 'atoi_error', 'atol', 'atol_error', 'capitalize', 'capwords', 'center', 'count', 'digits', 'expandtabs', 'find', 'hexdigits', 'index', 'index_error', 'join', 'joinfields', 'letters', 'ljust', 'lower', 'lowercase', 'lstrip', 'maketrans', 'octdigits', 'printable', 'punctuation', 'replace', 'rfind', 'rindex', 'rjust', 'rstrip', 'split', 'splitfields', 'strip', 'swapcase', 'translate', 'upper', 'uppercase', 'whitespace', 'zfill']
  • 5인용C++스터디/소켓프로그래밍 . . . . 4 matches
          기초 클래스가 CAsyncSocket인 새로운 클래스 CListenSock, CChildSock을 새로 생성한다.
          [클래스위저드]의 CListenSock에 가상 함수 OnAccept()를 추가한 후 다음 라인을 삽입한다.
         #include "ListenSock.h"
          CListenSock* m_pServer;
          m_pServer = new CListenSock;
          ((CListBox*)m_pMainWnd->GetDlgItem(IDC_LIST1))->InsertString(-1, strText);
          ((CListBox*)m_pMainWnd->GetDlgItem(IDC_LIST1))->InsertString(-1, strText);
          ((CListBox*)m_pMainWnd->GetDlgItem(IDC_LIST1))->InsertString(-1, strText);
          ((CListBox*)m_pMainWnd->GetDlgItem(IDC_LIST1))->InsertString(-1, strText);
  • 8queen/문원명 . . . . 4 matches
          int originX, firstFind,firstAnswer = 1;
          if (firstAnswer == 0) //처음 답과 같은지 조사
          if (firstAnswer == 1) //처음답 저장
          firstAnswer = 0;
  • ACM_ICPC/2011년스터디 . . . . 4 matches
          * 네.. 이번주는 대략적인 것들을 결정하는 시간이었지요. Jolly Jumper를 제가 그냥 임의로 찍어서 문제로 하기로 해서, 5시 스터디가 끝나자마자 1시간동안 열심히 코딩해서 완성했습니다. ..그런데 Wrong Answer. 으아아ㅏ아아아아ㅏ 2시간동안 진경이랑 삽질하다 얻은 결론: 얘내들은 입출력방식이 달라서 우리가 짠 것만으로 되는게 아니고 계속 입력을 받도록 해야한다. 그리고 입력이 끝나면 프로그램이 종료되어야 하는데 뭐 -1?인가 그게 뜨도록 하려면 띄어쓰기같은 것도 없어야한다. ...결국 답은 대략 맞았지만 저런 형식때문에 2시간동안 고민한거죠. JollyJumpers하시는 형/누나들 참고하세요 ;ㅅ; ..아무튼 ACM스터디가 재밌게 잘 진행되었으면 좋겠어요~ -[김태진]
          * 제 코드에 무엇이 문제인지 깨달았습니다. 입출력이 문제가 아니었어요. 숫자 범위 괜히 0이거나 3000 이상이면 "Not jolly" 출력하고 break하니까 이후에 더 적은 숫자가 들어온 경우가 무시당해서 Wrong Answer(출력 하든 안하든, 0 제외하고 3000 이상일 때만 하든 다 Wrong..;ㅅ;) 입력을 하지 않을 때까지 계속 받아야 하는데, 임의로 끊었더니 그만..... 그리고 continue로 해도 마찬가지로 3000을 제외하고 입력 버퍼에 남아있던 것들이 이어서 들어가서 꼬이게 되는! Scanner을 비우는 거는 어찌 하는 걸까요오;ㅁ;? 쨋든 그냥 맘 편하게 조건 지우고 Accepted ㅋㅋ 보증금 및 지각비 관련 내용은 엑셀에 따로 저장하였습니다. - [강소현]
          * 아, 그리고 100만년만에 로그인해보니 An Easy Problem이 '''Wrong Answer''' 상태로 남아 있더군요. 다시 풀어봐야겠....-_-;; - [지원]
          * [김태진] - 진경이 출생의 비밀..은 아니고 KOI 은상의 배경이 된, 세 용액이라는 작년 정올 1번문제를 풀어보았습니다. 다들 알고리즘 복잡도는 무시하고 Time Limit Exceeded라도 띄워보자고 짜는데, 이상하게 Wrong Answer.. 값이 int범위에서 해결되지 않아 줄줄 새고 있었습니다-- 범위를 제대로 생각해봐야겠다는 것을 염두함과 동시에 복잡도에 관해서도 좀 더 생각해봐야겠네요.
  • Adapter . . . . 4 matches
         Smalltalk에서 ''Design Patterns''의 Adapter 패턴 class버전을 적용 시키지 못한다. class 버전은 다중 상속으로 그 기능을 구현하기 때문이다. [[BR]]
         자 그럼 Adapter를 적용시키는 시나리오를 시작해 본다. ''Design Patterns''(DP139)에서 DrawingEditor는 그래픽 객체들과 Shape의 상속도상의 클래스 인스턴스들을 모아 관리하였다. DrawingEditor는 이런 그래픽 객체들과의 소통을 위하여 Shape 프로토콜을 만들어 이 규칙에 맞는 메세지를 이용한다. 하지만 text인자의 경우 우리는 이미 존재하고 있는 TextView상에서 이미 구현된 기능을 사용한다. 우리는 DrawEditior가 TextView와 일반적으로 쓰이는 Shape와 같이 상호작용 하기를 원한다. 그렇지만 TextView는 Shape의 프로토콜을 따르지 않는 다는 점이 문제이다. 그래서 우리는 TextShap의 Adapter class를 Shape의 자식(subclass)로 정의 한다. TextShape는 인스턴스로 TextView의 참조(reference)를 가지고 있으며, Shape프로토콜상에서의 메세지를 사용한다.; 이들 각각의 메세지는 간단히 다른 메세지로 캡슐화된 TextView에게 전달되어 질수 있다. 우리는 그때 TextShape를 DrawingEditor와 TextView사이에 붙인다.
         TextShape는 Shape에 translator같은 특별한 일을 위한 기능을 직접 추가한 것으로 Shape의 메세지를 TextView Adaptee가 이해 할수 있는 메세지로 변환 시킨다.:하지만 DrawingEditor가 TextSape에 대한 메세지를 보낼때 TextShape는 다르지만 문법적으로 동일한 메세지를 TextView 인스턴스에게 보낸다. [[BR]]
         == Alternative Solutions ==
  • BusSimulation/태훈zyint . . . . 4 matches
         const int BusStationNo = 10; // 버스 정류장의 개수
         const int BusNo = 10; // 버스의 대수
         const long timerate = 1*60; // 시뮬레이터 할 때 한번 실행할 때마다 지나가는 시간
          SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), Pos);
  • C++스터디_2005여름/학점계산프로그램/문보창 . . . . 4 matches
          static const int NUM_STUDENT; // 학생 수(상수 멤버)
         const int CalculateGrade::NUM_STUDENT = 121;
          static const int NUM_GRADE; // 과목 수 (상수 멤버)
         const int Student::NUM_GRADE = 4;
  • C++스터디_2005여름/학점계산프로그램/허아영 . . . . 4 matches
         #include "const.h"
         #include "const.h"
         ==== const.h ====
         #include "const.h"
  • CPPStudy_2005_1/STL성적처리_4 . . . . 4 matches
         bool compare(const Student_info& student1, const Student_info& student2);
         bool compare(const Student_info& student1, const Student_info& student2)
  • CPP_Study_2005_1/Basic Bus Simulation/김태훈 . . . . 4 matches
         const BUS_NO = 7;
          void change_speed(const int n) { speed=n; }
          float buspos(const int min,const int lanelen) {
  • CheckTheCheck/문보창 . . . . 4 matches
         const int MAX_CASE = 300;
         const int TIED = -1;
         const int BLACK = 0;
         const int WHITE = 1;
  • ComputerNetworkClass/Report2006/BuildingProxyServer . . . . 4 matches
         [http://www.elbiah.de/hamster/doc/ref/errwinsock.htm Winsock Error Code]
         http://www.cs.wisc.edu/~cao/WISP98/html-versions/anja/proxim_wisp/index.html
          System::Console::WriteLine( a.ToString());
  • ConstructorMethod . . . . 4 matches
         === Constructor Method ===
         그래서 Constructor Method를 쓰기를 권한다. 즉 인스턴스를 똑바로 만들어주는 각각의 메소드를 추가해주는 것이다.
         또다른 예로 반지름과 각도를 받아 x,y를 계산해주는 Constructor method를 만들어보자.
         ''DesignPatterns 로 이야기한다면 일종의 FactoryMethod 임.(완전히 매치되는건 아니고, 어느정도 비슷) 비교적 자주 사용되는 패턴인데, 왜냐하면 객체를 생성하고 각각 임의로 셋팅해주는 일을 생성자 오버로딩을 더하지 않고서도 할 수 있으니까.
  • CubicSpline/1002/test_NaCurves.py . . . . 4 matches
          def testInsertPointX(self):
          def testInsertPointY(self):
          def testInsertPointX(self):
          def testInsertPointX(self):
  • DataCommunicationSummaryProject/Chapter8 . . . . 4 matches
          * 에어 링크가 동작하기 위해서는 두가지 수신기가 필요한데 사용자에 의해서 작동하는게 MSU(핸드폰) 운영자에 의해서 동작하는게 BTS(Base Transceiver Station) 이다.
         == Base Stations ==
          * Base Transceiver Stations (BTS)
         [DataCommunicationSummaryProject]
  • DesignPattern2006 . . . . 4 matches
         || 9/22 || GOF의 DesignPatterns 읽기 || . ||
         || 10/13 || GOF의 DesignPatterns 읽기 2 || . ||
          * [DesignPatterns]
          * [DesignPatternStudy2005]
          * [HowToStudyDesignPatterns]
  • EffectiveSTL/ProgrammingWithSTL . . . . 4 matches
         = Item44. Prefer member functions to algorithms with the same names. =
         = Item46. Consider function objects instead of functions as algorithm parameters. =
  • EightQueenProblemSecondTryDiscussion . . . . 4 matches
         제가 보기에 현재의 디자인은 class 키워드만 빼면 절차적 프로그래밍(procedural programming)이 되는 것 같습니다. 오브젝트 속성은 전역 변수가 되고 말이죠. 이런 구성을 일러 God Class Problem이라고도 합니다. AOP(Action-Oriented Programming -- 소위 Procedural Programming이라고 하는 것) 쪽에서 온 프로그래머들이 자주 만드는 실수이기도 합니다. 객체지향 분해라기보다는 한 거대 클래스 내에서의 기능적 분해(functional decomposition)가 되는 것이죠. Wirfs-Brock은 지능(Intelligence)의 고른 분포를 OOD의 중요요소로 뽑습니다. NQueen 오브젝트는 그 이름을 "Manager"나 "Main''''''Controller"로 바꿔도 될 정도로 모든 책임(responsibility)을 도맡아 하고 있습니다 -- Meyer는 하나의 클래스는 한가지 책임만을 제대로 해야한다(A class has a single responsibility: it does it all, does it well, and does it only )고 말하는데, 이것은 클래스 이름이 잘 지어졌는지, 얼마나 구체성을 주는지 등에서 알 수 있습니다. (Coad는 "In OO, a class's statement of responsibility (a 25-word or less statement) is the key to the class. It shouldn't have many 'and's and almost no 'or's."라고 합니다. 만약 이게 자연스럽게 되지않는다면 클래스를 하나 이상 만들어야 한다는 얘기가 되겠죠.) 한가지 가능한 지능 분산으로, 여러개의 Queen 오브젝트와 Board 오브젝트 하나를 만드는 경우를 생각해 볼 수 있겠습니다. Queen 오브젝트 갑이 Queen 오브젝트 을에게 물어봅니다. "내가 너를 귀찮게 하고 있니?" --김창준
          ''말씀해주셔서 감사합니다. 이해가 안되는 부분 몇가지 여쭤보겠습니다. 종합해보면, ''NQueen 자체는 어떠한 보드 형태가 n-Queens problem을 만족하는것인지를 알아봐야 하고, n * n 크기의 보드를 만들어거나 만들어진 보드를 출력하는건 ''다른 누군가''의 몫이다.'' 라는 이야기가 되는건가요?(이 내용이 위에서 쓰신 '''한가지 가능한 ... 볼 수 있겠습니다'''의 내용인지도 궁금합니다.) 그리고, 마지막에 쓰신 '''Queen 오브젝트 갑이 Queen 오브젝트 을에게 물어봅니다. "내가 너를 귀찮게 하고 있니?"''' 의 내용이 어떤 뜻인지 궁금합니다. --이선우''
  • Favorite . . . . 4 matches
         [http://no-smok.net/nsmk/%EB%8C%80%ED%95%99%EC%83%9D%EC%9D%B4%EC%95%8C%EC%95%84%EC%95%BC%ED%95%A0%EA%B2%83%EB%93%A4?action=highlight&value=%EC%98%81%EC%96%B4%7C%EC%9E%91%EB%AC%B8]
         [http://www.passioninside.com 구근이형 개인위키]
         [http://www.cinsk.org/cfaqs/html/ C에서 자주묻는질문]
         [http://agile.egloos.com/ AgileConsulting]
  • Fmt/문보창 . . . . 4 matches
         Wrong Answer
         const int STATE_A = 1;
         const int STATE_B = 2;
         const int STATE_C = 3;
  • HardcoreCppStudy/두번째숙제 . . . . 4 matches
         ||[HardcoreCppStudy/두번째숙제/ConstructorAndDestructor/변준원] ||
         ||[HardcoreCppStudy/두번째숙제/ConstructorAndDestructor/장창재] ||
         ||[HardcoreCppStudy/두번째숙제/ConstructorAndDestructor/임민수] ||
         ||[HardcoreCppStudy/두번째숙제/ConstructorAndDestructor/김아영] ||
  • HelpOnInstallation/MultipleUser . . . . 4 matches
         각 사용자는 따로 설치할 필요 없이 관리자가 설치해놓은 모니위키를 단지 make install로 비교적 간단히 설치할 수 있습니다.
         # make install DESTDIR=/usr/local
         === moni-install 실행하기 ===
         $ /usr/local/moniwiki/bin/moni-install
  • HelpOnXmlPages . . . . 4 matches
         If you have Python4Suite installed in your system, it is possible to save XML documents as pages. It's important to start those pages with an XML declaration "{{{<?xml ...>}}}" in the very first line. Also, you have to specify the stylesheet that is to be used to process the XML document to HTML. This is done using a [http://www.w3.org/TR/xml-stylesheet/ standard "xml-stylesheet" processing instruction], with the name of a page containing the stylesheet as the "{{{href}}}" parameter.
         <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  • HowToStudyDataStructureAndAlgorithms . . . . 4 matches
         첫번째가 제대로 훈련되지 못한 사람은 알고리즘 목록의 스테레오 타입에만 길들여져 있어서 모든 문제를 자신이 가진 알고리즘 목록에 끼워맞추려고 합니다. DesignPatterns를 잘 못 공부한 사람과 비슷합니다. 이 사람들은 마치 과거 수학 정석을 수십번을 공부해서 문제를 하나 던져주기만 하면, 생각해보지도 않고 자신이 풀었던 문제들의 패턴 중 가장 비슷한 것 하나를 기계적, 무의식적으로 풀어제끼는 "문제풀이기계"와 비슷합니다. 그들에게 도중에 물어보십시오. "너 지금 무슨 문제 풀고있는거니?" 열심히 연습장에 뭔가 풀어나가고는 있지만 그들은 자신이 뭘 풀고있는지도 잘 인식하지 못하는 경우가 많습니다. 머리가 푸는 게 아니고 손이 푸는 것이죠.
         교육은 물고기를 잡는 방법을 가르쳐주어야 한다. 어떤 알고리즘을 배운다면, 그 알고리즘을 고안해 낸 사람이 어떤 사고의 과정을 거쳐서 그 해법에 도달했는지를 구경할 수 있어야 하고, 학생은 각자 스스로만의 해법을 차근 차근 "구성"(construct)할 수 있어야 한다(이를 교육철학에서 구성주의라고 하는데, 레고의 아버지이고 마빈 민스키와 함께 MIT 미디어랩의 선구자인 세이머 페퍼트 박사가 주창했다). 전문가가 하는 것을 배우지 말고, 그들이 어떻게 전문가가 되었는가를 배우고 흉내내라.
          * transform-and-conquer
         see also ["HowToStudyDesignPatterns"]
  • ISBN_Barcode_Image_Recognition . . . . 4 matches
         === X-dimension ===
          * 바코드를 보다 쉽게 인식하기 위해, 바코드 좌우로 X-dimension의 10배의 Space가 존재한다.
         === X-dimension ===
          * 가장 두꺼운 Bar 혹은 Space의 폭 길이는 X-dimension의 4배이다.
  • IntelliJ . . . . 4 matches
         Refactoring 기능과 깔끔한 UI, Inspection 기능 등이 돋보인다. 2002년 Jolt Award 수상.
         === Intelli J Idea 의 Inspection ===
         개인적으로 IntelliJ 는 정말 TestDrivenDevelopment 와 Simplicity 를 위한 에디터라고 생각하는데, 이유는 리팩토링 기능이나 화면상 UI (쓰이지 않는 필드 등에 대해선 회색으로 표시됨), 그리고 Inspection 기능때문이다.
         Inspection 을 이용하면, 현재 실제로 접근하지 않는 메소드들, private 으로 둘 수 있는 메소드들, static 으로 둘 수 있는 필드 등을 체크하고, 해당 메소드 등을 주석처리하거나 영구삭제, 또는 접근권한을 private 으로 변환하는 등 여러가지 대처를 할 수 있다.
  • LinkedList/영동 . . . . 4 matches
          Node(int initialData){ //Constructor with initializing data
          Node(){} //An empty constructor to reduce warning in compile time
          Node(int initialData){ //Constructor with initializing data
          Node(){nextNode='\0';} //An empty constructor to reduce warning in compile time
  • Linux . . . . 4 matches
         (same physical layout of the file-system (due to practical reasons)
         I'd like to know what features most people would want. Any suggestions
         [http://translate.google.com/translate?hl=ko&sl=en&u=http://www.softpanorama.org/People/Torvalds/index.shtml&prev=/search%3Fq%3Dhttp://www.softpanorama.org/People/Torvalds/index.shtml%26hl%3Dko%26lr%3D 리눅스의 개발자 LinusTorvalds의 소개, 인터뷰기사등]
  • Linux/배포판 . . . . 4 matches
         GNU에 정신에 입각해서 만들어지는 배포판이다. 공식명식 GNU/Debian Linux 이다. 데비안의 이름은 배포자인 이안, 그의 부인 데보라 이름을 땃다고한다. 패키징은 과거 dselect를 이용하였고, 현재는 aptitude 라는 툴을 기반으로 한다. ''(관리정보를 보관하기 때문에 서로 호환성을 갖지는 않는다고 한다.)'' 데비안의 안정판은 대단히 배포사이의 공백기가 긴 것으로 유명하다. 혹자들은 메인테이너들이 굉장히 신중한 사람들이라고 평가하기도 한다. ''(01년도 Woody를 시작으로 05년 Sarge 사이에 딱 하나의 안정판이 있을뿐이다. 대략 2년에 한번꼴이다.)'' 대신에 Stable, Testing, Unstable, Experimental 이라는 단계적 개념으로 패키지를 제공해서 사용자의 선택의 폭을 제공한다. 그렇지만 Unstable 이라고해도 페도라만큼 최신의 패키지들로 묶이지는 않고 어느정도 성숙이 되면 패키지로 포함되는 경우가 다반사이다. 안정적 서버운영을 위해서는 안정판을 설치하는 경우가 많고, 일반용도로는 Testing, Unstable을 설치한다. (www.kldp.org 가 현재 데비안 Sarge-stable 로 운영중이다.) 패키지방식은 의존성에 대한 철저한 관리가 특징이다. 데비안이 유명한 것은 바로 이 패키지 관리의 엄격함 때문이기도 하다. 그렇지만 최신의 기술로 만들어진 소프트를 원하는 이들에겐 그다지 좋은 덕목은 아니다. 네트워크를 통해서 인스톨하기 때문에 base-system 이상의 것들은 네트웍이 연결된 상태에서 설치가 가능하다. 대신에 모든 배포판은 CD1장으로 구성된다. (net-install의 경우 대략 100MB 정도) 현재는 데비안의 엄격한 패키징 방식에서 좀더 유연한 자식격 배포판인 우분투이 나오면서 상당한 인기를 끌고 있다. 우분투는 데스크탑용 OS를 표방하고 발표되어으며, 실제로 CD로 엔터만 누르면서 완전설치가 가능하다.
  • MFC/HBitmapToBMP . . . . 4 matches
         // Returns: BOOL
          unsigned int size, palsize;
         // Returns: BYTE
          HDC hdc, unsigned int *size)
  • MFC/Socket . . . . 4 matches
          // member functions
          // Generated message map functions
          // NOTE - the ClassWizard will add and remove member functions here.
         void COmokView::OnServercreate()
         서버에 MFC의 CSocket을 쓰는 것은 그리 바람직해보이지 않네요. 상대적으로 사용하기 좀 어렵겠지만 CAsyncSocket을 써보도록 하세요. (개인적으로는 이것도 별로 추천하지 않습니다. 하지만 MSN이나 네이트온처럼 대형 메신저를 만드는게 아니니까 CAsyncSocket으로도 충분해 보이네요.) 기회가 된다면 MFC Socket말고 Winsock으로 코딩해보세요. --[인수]
  • MineSweeper/신재동 . . . . 4 matches
         const int MINE = -1;
         const int MOVE[3] = {-1, 0, 1};
         bool isInBoard(int row, int col, int moveRow, int moveCol, const vector< vector<int> >& board)
         void showBoard(const vector< vector<int> >& board)
  • NUnit/C#예제 . . . . 4 matches
          1. NUnit gui나 console 브라우져로 빌드후 나온 dll 혹은 exe를 로딩해서 Test를 실행한다.
         || Upload:NunitByC#ExampleConsole.gif ||
          1. 아래에 있는 Title에는 자기가 적고 싶은 이름( 예:NUnit Test(Console) )을 적는다.
          1. Command에는 설치한 NUnit 콘솔 프로그램의 경로를 적어준다.(예:C:\Program Files\NUnit 2.2\bin\nunit-console.exe)
  • OurMajorLangIsCAndCPlusPlus/XML . . . . 4 matches
          <instructor>이상규</instructor>
          <instructor>이선호</instructor>
  • OurMajorLangIsCAndCPlusPlus/print/조현태 . . . . 4 matches
         void print(const char* outData, ...)
          fputs(va_arg(variables, const char*), stdout);
          const char** variableStrings = va_arg(variables, const char**);
  • PyIde . . . . 4 matches
          * BoaConstructor - http://boa-constructor.sourceforge.net/
          * BoaConstructor - Scintilla 가 사용된 예를 볼 수 있다.
          * http://www.scons.org/
  • RandomWalk/임민수 . . . . 4 matches
         int const arsize = 11;
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
  • STL/vector/CookBook . . . . 4 matches
         Func(const Obj& obj)
          Obj(int n, const string& str) : a(n), c(str) {}
          * 노파심에서 말하는 건데.. 함수로 객체를 넘길때는 꼭 참조! 참조! 입니다. 값이 안 바뀌면 꼭 const 써주시구여. 참조 안 쓰고 값 쓰면 어떻게 되는지 이펙티브 C++에 잘 나와 있습니다.(책 선전 절대 아님) 복사 생성자를 10번 넘게 호출한다는 걸로 기억함.
          * 구조체에서 함수역시 가능하고, constructor, destructor역시 가능합니다. 다만 class와 차이점은 상속이 안되고, 내부 필드들이 public으로 되어 있습니다. 상속이 안되서 파생하는 분제들에 관해서는 학교 C++교제 상속 부분과 virtual 함수 관련 부분의 동적 바인딩 부분을 참고 하시기 바람니다.--["상민"]
  • STLErrorDecryptor . . . . 4 matches
         본 문서는 [http://www.kwak101.pe.kr/kwak101/works/InternData/STLDecryptor_QuickGuide.html QuickInstallation For STLErrorDecryptor] 의 '''내용을 백업하기 위한 목적'''으로 만든 페이지입니다. 따라서 원 홈페이지의 자료가 사라지지 않은 이상 가능하면 원 홈페이지에서 글을 읽으셨으면 합니다.
         error C2664: 'std::basic_string<_Elem,_Traits,_Ax>::basic_string(const std::basic_string<_Elem,_Traits,_Ax>::_Alloc &) with [_Elem=char,_Traits=std::char_traits<char>,_Ax=std::allocator<char>]' : 매개 변수 1을(를) 'int'에서 'const std::basic_string<_Elem,_Traits,_Ax>::_Alloc & with [_Elem=char,_Traits=std::char_traits<char>,_Ax=std::allocator<char>]'(으)로 변환할 수 없습니다.; 원인: 'int'에서 'const std::basic_string<_Elem,_Traits,_Ax>::_Alloc with [_Elem=char,_Traits=std::char_traits<char>,_Ax=std::allocator<char>]'(으)로 변환할 수 없습니다.; 소스 형식을 가져올 수 있는 생성자가 없거나 생성자 오버로드 확인이 모호합니다.
  • SoftwareCraftsmanship . . . . 4 matches
          * wiki:Wiki:SoftwareCraftsmanship , wiki:Wiki:QuestionsAboutSoftwareCraftsmanshipBook - OriginalWiki 에서의 이야기들.
          * wiki:NoSmok:SoftwareCraftsmanship
  • Spring/탐험스터디/2011 . . . . 4 matches
          DB의 4가지 method : Insert, Select, Update, Delete
          2.1. 우선 책에서 외부 라이브러리를 사용하고 있는데, STS에는 필요한 라이브러리가 들어있지 않은 것 같다. 이쪽 페이지(http://www.tutorials4u.net/spring-tutorial/spring_install.html)를 보고 라이브러리를 받아야 한다. 받아서 압축을 풀고 spring-framework-3.0.5.RELEASE/dist 폴더에 있는 jar 파일들을 프로젝트에 포함시켜주면 AnnotationContext, AnnotationConfigApplicationContext, @Configuration, @Bean 등을 사용할 수 있게 된다.
         Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
         Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
  • Spring/탐험스터디/wiki만들기 . . . . 4 matches
          if (principal instanceof UserDetails) {
          * [http://en.wikipedia.org/wiki/List_of_Markdown_implementations 위키피디아]를 참고하여 Java로 구현된 Markdown implementation 중 Pegdown을 선택했다.
          * 이전 (리비전 9)에서는 jsp 에서 pageContext.getAttribute("page")로 Response의 page를 불러올 수 있었는데 리비전 10부터 pageContext.getRequst().getAttribute()(또는 request.getAttribute)를 해야 page를 불러올 수 있다. 왜지? 모르겠음. 한참헤멤
          * RequestMappingHandlerMapping의 매핑 테이블을 보니 {[ URL ], methods=[ Method 타입 ], params=[],headers=[],consumes=[],produces=[],custom=[]}등으로 Request를 구분하고 있었다.
  • StringOfCPlusPlus/세연 . . . . 4 matches
          void InsertWord(char *, node *);
          InsertWord(word, temphead);
          InsertWord(word, temphead);
         void SearchWord::InsertWord(char * word, node * root)
  • SwitchAndCaseAsBadSmell . . . . 4 matches
          """return 1 when p1 wins, 2 when p2 wins, 0 when a tie"""
          """return 1 when p1 wins, 2 when p2 wins, 0 when a tie"""
  • TCP/IP 네트워크 관리 / TCP/IP의 개요 . . . . 4 matches
          *'''TCP/IP'''명칭의 유래 : 전송 제어 프로토콜('''T'''ransmission '''C'''ontrol '''P'''rotocol) + 인터넷 프로토콜 ('''I'''nternet '''P'''rotocol)
          *1975 - ARPANET이 실험적 네트워크에서 실제로 운영되는 네트워크로 전환. 네트워크 관리 책임은 DCA(Defense Communication Agency)
          * 옛 ARPANET은 DDN(Defense Data Network)의 공개부분인 MILNET + 새롭게 축소된 ARPANET
          *1985 - NSF(National Science Foundation) -> '''NSFNET'''
          * NSFNET는 ARPANET보다 규모도 작고 속도도 느렸지만, 인터넷 역사에 중요한 사건으로 기억된다. 이유는 인터넷 효용성에 새로운 가능성을 제시했기 때문.
          *1987 - NSF는 새롭고 빠른 백본(?)과 3단계 네트워크 형태 만듬.
          *1995 - NSFNET 주요 인터넷 백본 네트워크로서의 역할 중지
          *Transport layer : 양 종단 사이의 에러점검과 보정을 제공
  • TFP예제/WikiPageGather . . . . 4 matches
          self.assertEquals (self.pageGather.GetPageNamesFromPage (), ["LearningHowToLearn", "ActiveX", "Python", "XPInstalled", "TestFirstProgramming", "한글테스트", "PrevFrontPage"])
          '=== ExtremeProgramming ===\n * ["XPInstalled"]\n * TestFirstProgramming\n'+
         pagename : XPInstalled
         filename : XPInstalled
  • TugOfWar/문보창 . . . . 4 matches
         const int MAX_CASE = 100;
         const int MAX = 100;
         inline int comp(const void *i,const void *j) { return *(int *)i-*(int *)j; };
  • UglyNumbers/이동현 . . . . 4 matches
          public int insert(double n) {
          insert(((Double) arr.get(0)).doubleValue() * 2.0);
          insert(((Double) arr.get(0)).doubleValue() * 3.0);
          insert(((Double) arr.get(0)).doubleValue() * 5.0);
  • User Stories . . . . 4 matches
         User stories serve the same purpose as use cases but are not the same. They are used to create time estimates for the release planning meeting. They are also used instead of a large requirements document. User Stories are written by the customers as things that the system needs to do for them. They are similar to usage scenarios, except that they are not limited to describing a user interface. They are in the format of about three sentences of text written by the customer in the customers terminology without techno-syntax.
         One of the biggest misunderstandings with user stories is how they differ from traditional requirements specifications. The biggest
         Developers estimate how long the stories might take to implement. Each story will get a 1, 2 or 3 week estimate in "ideal development time". This ideal development time is how long it would take to implement the story in code if there were no distractions, no other assignments, and you knew exactly what to do. Longer than 3 weeks means you need to break the story down further. Less than 1 week and you are at too detailed a level, combine some stories. About 80 user stories plus or minus 20 is a perfect number to create a release plan during release planning.
  • WikiWikiWeb . . . . 4 matches
         The [wiki:Wiki:FrontPage first ever wiki site] was founded in 1994 as an automated supplement to the Wiki:PortlandPatternRepository. The site was immediately popular within the pattern community, largely due to the newness of the internet and a good slate of Wiki:InvitedAuthors. The site was, and remains, dedicated to Wiki:PeopleProjectsAndPatterns.
          * get some answers on the Wiki:WikiWikiWebFaq
          * [http://news.mpr.org/programs/futuretense/daily_rafiles/20011220.ram Ward Cunningham Radio Interview]
  • WindowsConsoleControl . . . . 4 matches
         #define randomize() srand((unsigned)time(NULL))
          SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),Cur);
          CONSOLE_SCREEN_BUFFER_INFO BufInfo;
          GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE),&BufInfo);
          CONSOLE_SCREEN_BUFFER_INFO BufInfo;
          GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE),&BufInfo);
  • WindowsTemplateLibrary . . . . 4 matches
         {{|The Windows Template Library (WTL) is an object-oriented Win32 encapsulation C++ library by Microsoft. The WTL supports an API for use by programmers. It was developed as a light-weight alternative to Microsoft Foundation Classes. WTL extends Microsoft's ATL, another lightweight API for using COM and for creating ActiveX controls. Though created by Microsoft, it is unsupported.
         In an uncharacteristic move by Microsoft—an outspoken critic of open source software—they made the source code of WTL freely available. Releasing it under the open-source Common Public License, Microsoft posted the source on SourceForge, an Internet open-source repository. The SourceForge version is 7.5.
         Being an unsupported library, WTL has little formal documentation. However, most of the API is a direct mirror of the standard Win32 calls, so the interface is familiar to most Windows programmers.|}}
         오픈소스를 거침없이 비판하는 MS의 두드러진 지원이 없는 상황에서, MS는 WTL을 자유롭게 이용할 수 있도록 소스코드를 배포했다. 오픈소스 Common Public License 하에서 배포를 하면서, MS는 소스포지(인터넷 오픈소스 저장소)에 소스를 게재하였다. 소스포지에서의 WTL 버전은 7.5이다.
  • Yggdrasil/가속된씨플플/2장 . . . . 4 matches
         std::string::size_type//unsigned형의 멤버변수로, 담을 수 있는 최대 문자 갯수를 저장한다. 글자수에 알맞는 type으로 알아서 정의하는 듯.
          const string greeting="Hello, "+name+"!";
          const int rows=pad_rows*2+3;
          const string::size_type cols=greeting.size()+pad_cols*2+2;
  • ZP도서관 . . . . 4 matches
         || Applications for Windows Fourth Edition || Jeffrey Richter || MS Press || ["1002"] || 원서 ||
         || DesignPatternSmalltalkCompanion || Alpert, Brown, Woolf || Addison Wesley || ["1002"],보솨 || 원서 ||
         || inside C# || Tom Archer || 정보문화사 || ["1002"],류상민 || 한서 ||
         || Swing || Matthew Robinson, Pavel Vorobiev || Manning || ["혀뉘"] || 원서 ||
         || The Standard ANSI C Library || . || . || ["혀뉘"],["nautes"]|| 원서 ||
         || XML APPLICATIONS ||.||.||["erunc0"]||한서||
         || ExtremeProgramming Installed || Ron Jeffries, Ann Anderson, Chet Hendrickson || Addison-Wesley || 도서관 소장 || 개발방법론 ||
  • [Lovely]boy^_^/Diary/2-2-9 . . . . 4 matches
          * I make arcanoid perfectly(?) today. I will add functions that a shootable missile and multiple balls.
          * I borrow the UML for beginner. Translator is Kwak Yong Jae.(His translation is very good)
          * I'll never advance arcanoid.--; It's bored. I'll end the refactoring instantly, and do documentaion.
  • [Lovely]boy^_^/USACO/BrokenNecklace . . . . 4 matches
         const string CutAndPasteBack(const string& str, int pos);
         const string CutAndPasteBack(const string& str, int pos)
  • [Lovely]boy^_^/USACO/MixingMilk . . . . 4 matches
          int whenstop = 0;
          whenstop = i;
          if(whenstop < numlist.size())
          ret += numlist[whenstop] * (suf - until);
  • [Lovely]boy^_^/USACO/WhatTimeIsIt? . . . . 4 matches
         int StringConvertToInt(const string& str);
         string Upcase(const string& str);
         string Upcase(const string& str)
         int StringConvertToInt(const string& str)
  • [Lovely]boy^_^/[Lovely]boy^_^/USACO/Barn . . . . 4 matches
         vector<int> getDistance(const vector<int>& ar)
         vector<int> getPivot(int numPivot, const vector<int>& distance)
         int getTotal(int numPivot, const vector<int>& ar, const vector<int>& pivots)
  • html5practice/roundRect . . . . 4 matches
         <html xmlns="http://www.w3.org/1999/xhtml">
          console.log("text : " + text + " pos : " + pos.x + ", " + pos.y);
          console.log(calcRt.width);
          ctx.font = "15px sans-serif";
  • koi_aio/권영기 . . . . 4 matches
          int cnt = 0, ans[5];
          ans[cnt++] = i;
          printf("%d %d\n", s[ans[i]].a, s[ans[i]].b);
  • randomwalk/홍선 . . . . 4 matches
         const int Direction = 8; // 바퀴벌레가 움직이는 8방향
         const int imove[8] = {-1,0,1,1,1,0,-1,-1}; // 바퀴벌레가 움직이는 방향의 x 좌표 증감
         const int jmove[8] = {1,1,1,0,-1,-1,-1,0}; // 바퀴벌레가 움직이는 방향의 y 좌표 증감
          srand((unsigned)time(NULL)); // 시간을 이용해 랜덤을 설정
  • sort/권영기 . . . . 4 matches
          int n, i, j, ans = 0;
          ans++;
          ans++;
          cout<<ans;
  • usa_selfish/김태진 . . . . 4 matches
         int compare(const void* a,const void* b);
         int compare(const void* a,const void* b)
  • 가독성 . . . . 4 matches
         가독성은 개인취향이라고 생각합니다. 제 경우는 C, C++에서 { 를 내리지 않는 경우보단 내리는 경우가 더 보기 편하고, JavaLanguage 에서는 내리지 않는게 더 편하답니다. 애초에 CodingConventions 이라는 것이 존재하는 것도 통일된 코딩규칙을 따르지 않고 개인취향의 코드를 만들어내다 보면 전체적으로 코드의 융통성이 결여되고 가독성또한 전체적으로 떨어지는 문제를 미연에 방지하기 위함이라고 생각합니다. 특히나 ExtremeProgramming 의 경우처럼 CollectiveOwnership 을 중요한 프랙티스 중의 하나로 규정한 방법론에서는 CodingConventions 과 같은 공동소유의 산출물에 대한 규칙이 더윽 중요하다고 생각됩니다. 요는, { 를 내리느냐 내리지 않느냐가 가독성이 높냐 낮냐를 결정짓는 것이 아니고 가독성이라는 하나의 평가요소의 가치는 개인에 따라 달라질 수 있다는 것입니다. - 임인택
         글을 작성하신 분과 제가 생각하는 '가독성'에 대한 정의가 다른게 아닌가 합니다. 코드를 글로 비유해 보자면(저는 비유나 은유를 좋아한답니다) 이영호님께서는 ''눈에 거슬리지 않게 전체적인 문장이 한눈에 들어오는가''를 중요하게 생각하시는 것 같습니다. 저는 가독성이라는 개념을 ''문장들이 얼마나 매끄럽고 문단과 문단의 연결에 부적절함이 없는가''에 초점을 맞추고 있습니다. 문단의 첫 글자를 들여쓰기를 하느냐 마느냐가 중요한 것이 아니고 그 문단이 주제를 얼마나 명확하고 깔끔하게 전달해 주느냐가 중요하다는 것이죠. CollectiveOwnership 을 위한 CodingConventions와 글쓰기를 연계시켜 생각해 보자면 하오체를 쓸것인가 해요체를 쓸것인가 정해두자 정도가 될까요? 제가 생각하는 가독성의 정의에서 brace의 위치는 지엽적인 문제입니다. SeeAlso Seminar:국어실력과프로그래밍
         This is a short document describing the preferred coding style for the linux kernel. Coding style is very personal, and I won't force my views on anybody, but this is what goes for anything that I have to be able to maintain, and I'd prefer it for most other things too. Please at least consider the points made here.
  • 권영기/채팅프로그램 . . . . 4 matches
          server_addr.sin_port = htons(4000);
          server_addr.sin_port = htons( 4000);
          server_addr.sin_port = htons(4000);
          server_addr.sin_port = htons( 4000);
  • 데블스캠프/2013 . . . . 4 matches
          || 7 |||| [:데블스캠프2013/첫째날/ns-3네트워크시뮬레이터소개 ns-3 네트워크 시뮬레이터 소개] |||| [:데블스캠프2013/둘째날/API PHP + MySQL] |||| [:아두이노장난감만드는법 아두이노 장난감 만드는 법] |||| |||| [:개발과법 개발과 법] |||| [:ParadigmProgramming Paradigm Programming] || 2 ||
          || 8 |||| ns-3 네트워크 시뮬레이터 소개 |||| [:데블스캠프2013/둘째날/API PHP + MySQL] |||| [http://zeropage.org/index.php?mid=seminar&document_srl=91554 Machine Learning] |||| |||| [MVC와 Observer 패턴을 이용한 UI 프로그래밍] |||| [아듀 데블스캠프 2013] || 3 ||
         || 이봉규(23기) || ns-3 네트워크 시뮬레이터 소개 ||
  • 데블스캠프2005/주제 . . . . 4 matches
         In my life, I have seen many programming courses that were essentially like the usual kind of driving lessons, in which one is taught how to handle a car instead of how to use a car to reach one's destination.
         My point is that a program is never a goal in itself; the purpose of a program is to evoke computations and the purpose of the computations is to establish a desired effect.
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/임상현,서민관 . . . . 4 matches
          public void testConstructor1() {
          public void testConstructor2() {
          public void testConstructor3() {
          public void testConstructor4() {
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/변형진 . . . . 4 matches
          double value = getLnPsPns(index);
          value += getLnPwsPwns(index, word);
          private double getLnPsPns(int index) {
          private double getLnPwsPwns(int index, String word) {
  • 문자반대출력/문보창 . . . . 4 matches
         void write_file(const string & str);
         void write_file(const string & str)
         void write_file(const string & str);
         void write_file(const string & str)
  • 문제풀이/1회 . . . . 4 matches
         Equivalent to eval(raw_input(prompt)). Warning: This function is not safe from user errors! It expects a valid Python expression as input; if the input is not syntactically valid, a SyntaxError will be raised. Other exceptions may be raised if there is an error during evaluation. (On the other hand, sometimes this is exactly what you need when writing a quick script for expert use.)
         Consider using the raw_input() function for general input from users.
          ===== Using List Comprehension =====
          이런 경우를 개선하기 위해서 map 함수가 있는것입니다. 이를 Haskell에서 차용해와 문법에 내장시키고 있는 것이 List Comprehension 이고 차후 [http://www.python.org/peps/pep-0289.html Genrator Expression]으로 확장될 예정입니다. 그리고 print 와 ,혼용은 그리 추천하지 않습니다. print를 여러번 호출하는것과 동일한 효과라서, 좋은 컴퓨터에서도 눈에 뜨일만큼 처리 속도가 늦습니다. --NeoCoin
  • 방울뱀스터디/GUI . . . . 4 matches
         entry.insert(0, '') # 처음부분에 공백 문자열을 추가
         textArea.insert(END, "Hello")
         textArea.insert(INSERT, "world")
         textArea.insert(1.0, "!!!!!")
         textArea.window_create(INSERT, window=button)
         INSERT는 현재 커서위치에 삽입
         textArea.deletet(INSERT) # 현재 문자 삭제
         index = textArea.index(INSERT)
  • 보드카페 관리 프로그램/강석우 . . . . 4 matches
         int price(vector<board>& vec, int hour, int minute, const int& i);
         const string tables[] ={"table1", "table2", "table3"};
         const string games[] = {"jenga", "citadell", "pit"};
         int price(vector<board>& vec, int hour, int minute, const int& i)
  • 새싹교실/2012/개차반 . . . . 4 matches
          * unsigned - MSB를 통해서 2배의 수를 더 많이 나타낼 수 있다는 개념 설명
          * format specifications
          * unsigned ~ : 양수 부분만 표현함으로써 더 큰 범위의 수를 나타낼 수 있지만 음수를 표현할 수 없다
          * format specifications
  • 이영호/My라이브러리 . . . . 4 matches
         int send_msg(int sockfd, const *msg);
          (*ina).sin_port = htons(port);
          (*ina).sin_port = htons(port);
         int send_msg(int sockfd, const *msg)
  • 정수민 . . . . 4 matches
         const int max_position = 6;
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
          printf("nscore[%d] : %d, rank = %dn", i, score[i], k);
  • 즐겨찾기 . . . . 4 matches
         [http://no-smok.net/nsmk/%EB%8C%80%ED%95%99%EC%83%9D%EC%9D%B4%EC%95%8C%EC%95%84%EC%95%BC%ED%95%A0%EA%B2%83%EB%93%A4?action=highlight&value=%EC%98%81%EC%96%B4%7C%EC%9E%91%EB%AC%B8]
         [http://www.passioninside.com 구근이형 개인위키]
         [http://no-smok.net/nsmk/ComputerCurriculum 내가 읽어야 할 책]
         [http://www.cinsk.org/cfaqs/html/ C에서 자주묻는질문]
  • 진격의안드로이드&Java . . . . 4 matches
          0: iconst_5
          2: iconst_1
          0: iconst_5
          2: iconst_1
  • 토비의스프링3/오브젝트와의존관계 . . . . 4 matches
          PreparedStatement ps = c.prepareStatement("insert into users(id, name, password) values(?,?,?)");
          * <beans> : @Configuration에 대응한다. 여러 개의 <bean>이 들어간다.
         <beans>
         </beans>
  • 호너의법칙/조현태 . . . . 4 matches
         const int INPUT_MAX=11;
          const int SIZE_OF_LINE=5;
          const int NUMBER_TO_CHAR=48;
          const int SIZE_OF_BLOCK=4;
  • 2012/2학기/컴퓨터구조 . . . . 3 matches
          = Computer Abstractions and Technology =
          == Abstractions ==
          * Instruction set architecture (ISA)
  • 2dInDirect3d/Chapter3 . . . . 3 matches
          * Transformed 버텍스와 Untransformed 버텍스의 차이를 안다.
          만약 D3D를 쓰는 사람에게 "당신은 왜 D3D를 씁니까?" 라고 물으면, 일반적으로 이런 대답이 나온다. Z-Buffer라던지, 모델, 메시, 버텍스 셰이더와 픽셸세이더, 텍스쳐, 그리고 알파 에 대한 이야기를 한다. 이것은 많은 일을 하는 것처럼 보인다. 몇몇을 제외하면 이런 것들은 다음의 커다란 두 목적의 부가적인 것이다. 그 두가지란 Geometry Transformation과 Polygon Rendering이다. 간단히 말해서 D3D의 교묘한 점 처리와 삼각형 그리기라는 것이다. 물론 저것만으로 모두 설명할 수는 없지만, 저 간단한 것을 마음속에 품는다면 혼란스러운 일은 줄어들 것이다.
  • 2학기파이선스터디/클라이언트 . . . . 3 matches
          self.show.insert(END, str(i))
          self.list.insert(END, str(i))
          self.show.insert(END, "< " + str(aUser.ID) + " > : " + str(aUser.message))
  • 3N 1/김상섭 . . . . 3 matches
         const int Min = 1;
         const int Max = 1000000;
          unsigned long num;
  • 3N+1/김상섭 . . . . 3 matches
         const int Min = 1;
         const int Max = 1000000;
          unsigned long num;
  • 3학년강의교재/2002 . . . . 3 matches
          || 알고리즘 || (원)foundations of algorithms || Neapolitan/Naimpour || Jones and Bartlett ||
          || 데이터통신 || The Essential Guide to Wireless Communications Applications || Andy Dornan || Prentice-Hall ||
  • ACE/CallbackExample . . . . 3 matches
          unsigned long msg_severity = log_record.type();
          const ACE_TCHAR *prio_name = ACE_Log_Record::priority_name(prio);
          const time_t epoch = log_record.time_stamp().sec();
  • ACM_ICPC/2012년스터디 . . . . 3 matches
          * Expressions
          * Expressions - 풀이를 보고 문제를 풀어오기
          * Expressions
          * 퀵정렬, BinSearch(10) - [http://211.228.163.31/30stair/notes/notes.php?pname=notes music notes]
  • AcceleratedC++/Chapter6/Code . . . . 3 matches
         double optimistic_median_analysis(const vector<Student_info> &students)
          transform(students.begin(), students.end(), back_inserter(medianOfStudents), optimistic_median);
  • Ajax/GoogleWebToolkit . . . . 3 matches
         The Google Web Toolkit is a free toolkit by Google to develop AJAX applications in the Java programming language. GWT supports rapid client/server development and debugging in any Java IDE. In a subsequent deployment step, the GWT compiler translates a working Java application into equivalent JavaScript that programatically manipulates a web brower's HTML DOM using DHTML techniques. GWT emphasizes reusable, efficient solutions to recurring AJAX challenges, namely asynchronous remote procedure calls, history management, bookmarking, and cross-browser portability.
  • Ajax2006Summer/프로그램설치 . . . . 3 matches
         3. Workspace 설정 후 '''Help''' - '''Software Updates''' - '''Find and Install''' 을 선택합니다.
         4. 다음 다이얼로그에서는 '''Search for new features to install''' 을 선택 후 '''Next>'''를 클릭합니다.
         10. 다운로드가 끝나면 중간에 설치할 것이냐고 물어보는데 '''Install All'''을 선택해 줍시다.
  • BlueZ . . . . 3 matches
         The overall goal of this project is to make an implementation of the Bluetooth™ wireless standards specifications for Linux. The code is licensed under the GNU General Public License (GPL) and is now included in the Linux 2.4 and Linux 2.6 kernel series.
  • BoaConstructor . . . . 3 matches
         http://boa-constructor.sourceforge.net/
         GUI 를 만들어 Boa 요~ - BoaConstructor
          5. 정식 버전은 TDD 로 다시 DoItAgainToLearn. WingIDE + VIM 사용. (BRM 을 VIM 에 붙여놓다보니. 그리고 WingIDE 의 경우 Python IDE 중 Intelli Sense 기능이 가장 잘 구현되어있다.)
  • BookShelf . . . . 3 matches
          1. SmalltalkBestPracticePatterns(제본)
          1. LionsCommentaryOnUnix
          [http://no-smok.net/nsmk/ComputerCurriculum 내가 읽어야 할 책]
  • C 스터디_2005여름/학점계산프로그램/김태훈김상섭 . . . . 3 matches
         const int MAX_SUB = 4;
         void getdata(vector<Score>& ban,const char* filename);
         void getdata(vector<Score>& ban,const char* filename){
  • C++스터디_2005여름/도서관리프로그램/문보창 . . . . 3 matches
          void insert_list(Book & b);
          insert_list(*b);
         void ManageBook::insert_list(Book & b)
  • CVS . . . . 3 matches
         Concurrent Versions System. 공동 프로젝트를 위한 소스 버전 관리 툴. 오픈소스계열에서 Source Repository 의 용도로서 많이 이용된다. 활발하게 이용되고 있는 곳에 대해서는 http://sourceforge.net 에서 많이 볼수 있다.
         설치는 간단하다. install script 를 이용, CGI 가 돌아가는 경로에 설치한뒤, viewcvs.conf 에서 CVS ROOT 를 설정해주면 끝.
         Apparently, the problem is actually with Linux - daemons invoked through inetd should not strictly have any associated environment. In Linux they get one, and in the error case, it is getting some phoney root environment.
  • CheckTheCheck/곽세환 . . . . 3 matches
         const int EMPTY = 0;
         const int BLACK = 1;
         const int WHITE = 2;
  • ContestScoreBoard/문보창 . . . . 3 matches
         const int NUMBER_TEAM = 101;
         const int NUMBER_PROBLEM = 10;
         const int TIME_PENALTY = 20;
  • CppStudy_2002_2/객체와클래스 . . . . 3 matches
          void insertCoin();
         void Vending::insertCoin()
          vending.insertCoin();
  • CrcCard . . . . 3 matches
         Class - Responsibility - Collaboration Card. 보통은 간단한 3 x 5 inch 짜리의 인덱스카드(IndexCard)를 이용한다.
         ResponsibilityDrivenDesign 에서 OOP 를 이야기할때 '객체를 의인화'한다. CrcCard Play는 이를 돕는다. 즐겁게 객체들을 가지고 노는 것이다.
         See Also Moa:CrcCard , ResponsibilityDrivenDesign, [http://c2.com/doc/oopsla89/paper.html aLaboratoryForTeachingObject-OrientedThinking]
  • DPSCChapter4 . . . . 3 matches
         = Structural Patterns =
         '''Composite(137)''' Compose objects into tree structrures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.
         '''Decorator(161)''' Attach Additional responsibilities and behavior to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
  • DataCommunicationSummaryProject/Chapter9 . . . . 3 matches
          * 2000년대 부터 wireless LANs가 데이터 속도와 가격만에서많은 성장을 가져왔다.IEEE의802.11b의 지준을 많이 사용한다.물론 아직은 핸드폰이나 인터넷에 비할수는 없지만,성장 속도는 빠르다. 새로운 시스템은 유선에 도전을 줄 만큼 데이터전송량과 속도를 증가 시켰다.
          * License-Free Radio 통신서비스를 하도록 허락한 주파수대이다.(돈주고 판것이것지) 물론 미국과 유럽의 기준이 약간 틀리다.
         == Wireless LANs ==
          * ProbeResponse Frame을 받은 모든 AP 응답
          * AP는 AssociationResponse Frame 응답
          * Infrared LANs : 볼거 없다. 그냥 적외선으로 랜 하는거다.
         See Also : DataCommunicationSummaryProject
  • DesignPatterns/2011년스터디 . . . . 3 matches
         [[PageList(^DesignPatterns/2011년스터디)]]
          * HolubOnPatterns를 함께 읽는 스터디.
         [DesignPatterns], [스터디분류], [2011년활동지도]
  • EffectiveSTL/VectorAndString . . . . 3 matches
         = Item14. Use reserve to avoid unnecessary reallocations. =
         = Item15. Be aware of variations in string implementations. =
  • EightQueenProblem . . . . 3 matches
         ||da_answer|| 3h:00m || 135 lines || Delphi || ["EightQueenProblem/da_answer"] ||
          * 이미 만들어진 종적 상태의 프로그램에서보다 그것을 전혀 모르는 상태에서 직접 축조(construct)해 나가는 과정에서 배우는 것이 훨씬 더 많고, 재미있으며, 효율적인 학습이 된다는 것을 느끼게 해주기 위해
  • EightQueenProblem/이준욱 . . . . 3 matches
         unsigned char rmap[8], map[8] = {0,0,0,0,0,0,0,0};
         int mask(unsigned char * tmap , register int x, register int y)
          unsigned char tmap[8];
  • EightQueenProblem/햇병아리 . . . . 3 matches
         char queens[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
          j = queens[i];
          j = queens[i] = (j + 1) % 8;
  • EightQueenProblem2 . . . . 3 matches
         ||da_answer|| 5m || 135 lines ["EightQueenProblem/da_answer"] showMessage부분을 리커시브 안쪽으로 이동 || Delphi ||
         만약 이 모든 것을 완료했고, 뭔가 더 도전할 것을 찾는다면, N-Queens Problem을 풀면 됩니다. (요구사항의 또 다른 변화! :( ) NXN 체스판에서 N개의 여왕을 배치하는 프로그램이 되도록 수정하는 겁니다.
  • EightQueenProblem2Discussion . . . . 3 matches
         이미 알고리즘 수업 시간을 통해 생각해본 문제이기에 주저없이 백트래킹(BackTracking) 기법을 선택해서 슈도코드를 종이에 작성해보았고 그를 바탕으로 구현에 들어갔습니다.(''그냥 호기심에서 질문 하나. 알고리즘 수업에서 백트래킹을 배웠나요? 최근에는 대부분 AI쪽으로 끄집어 내서 가르치는 것이 추세입니다만... 교재가 무엇이었나요? --김창준 Foundations of Algorithms Using C++ Pseudocode, Second Edition 이었습니다. ISBN:0763706205 --이덕준'') 백트래킹은 BruteForce식 알고리즘으로 확장하기에 용이해서 수정엔 그리 많은 시간이 걸리지 않았습니다. 만일 EightQueenProblem에 대한 사전 지식이 없었다면 두번째 과제에서 무척 당황했을것 같습니다. 이번 기회에 코드의 적응도도 중요함을 새삼 확인했습니다. --이덕준
         어제 서점에서 ''Foundations of Algorithms Using C++ Pseudocode''를 봤습니다. 알고리즘 수업 시간에 백트래킹과 EightQueenProblem 문제를 교재를 통해 공부한 사람에게 이 활동은 소기의 효과가 거의 없겠더군요. 그럴 정도일줄은 정말 몰랐습니다. 대충 "이런 문제가 있다" 정도로만 언급되어 있을 주 알았는데... 어느 교재에도 구체적 "해답"이 나와있지 않을, ICPC(ACM의 세계 대학생 프로그래밍 경진대회) 문제 같은 것으로 할 걸 그랬나 봅니다. --김창준
         by Da_Answer
  • EnglishSpeaking/TheSimpsons/S01E05 . . . . 3 matches
         We got the water balloons?
         It's a classic pincers movement. It can't fail against a ten-year-old.
         Bart : Battle stations.
  • FeedBack . . . . 3 matches
          * Sound created when a transducer such as a microphone or electric guitar picks up sound from a speaker connected to an amplifier and regenerates it back through the amplifier.
          *. The return of information about the result of a process or activity; an evaluative response: asked the students for feedback on the new curriculum.
          *. The process by which a system, often biological or ecological, is modulated, controlled, or changed by the product, output, or response it produces.
  • FocusOnFundamentals . . . . 3 matches
         would be of no interest in a decade. Instead, I learned fundamental physics, mathematics, and a
         replacements for earlier fads and panaceas and will themselves be replaced. It is the responsibility
         is a means of learning something else, not an goal in itself.
  • Gnutella-MoreFree . . . . 3 matches
          {{{~cpp Response Connection : GNUTELLA OKnn}}}
          Gnuclues는 Gnutella 프로젝트 중 OpenSoure로 실제 인터페이스 부분이 열악하다.
         if(Inspect(Item))
         통해 받았던 핑인지 검사하고 if(key == NULL) 받았던 핑이 아니라 새로운 핑이라면 m_pComm->m_TableRouting.Insert(&Ping->Header.Guid, this) 처럼 라우팅 테이블에 넣고 Pong을 보내준다.
  • Gof/AbstractFactory . . . . 3 matches
         === Collaborations ===
         === Consequences ===
         수행시간에, ET++ 은 concrete 윈도우시스템 서브클래스(concrete 시스템 자원 객체를 생성하는)의 인스턴스를 생성한당=== Related Patterns ===
  • Gof/Strategy . . . . 3 matches
         == Consequences ==
          * RTL System for compiler code optimization - Register allocation, Instruction set Scheduling.
         == Releated Patterns ==
  • GotoStatementConsideredHarmful . . . . 3 matches
          SeeAlso : PPR:GotoConsideredTheBestProgrammingPracticeEverInvented PPR:GotoStillConsideredHarmful PPR:GotoConsideredHarmful
  • HardcoreCppStudy/첫숙제/Overloading/임민수 . . . . 3 matches
         int const arsize = 11;
         const int max=20;
         const int max=100;
  • HardcoreCppStudy/첫숙제/ValueVsReference/변준원 . . . . 3 matches
          double ans="x";
          ans*="x";
          return ans;
  • HeadFirstDesignPatterns . . . . 3 matches
         HeadFirst DesignPatterns
         - [http://www.zeropage.org/pds/2005101782425/headfirst_designpatterns.rar 다운받기]
         {{{Erich Gamma, IBM Distinguished Engineer, and coauthor of "Design Patterns: Elements of Reusable Object-Oriented Software" }}}
  • HelpOnEditing . . . . 3 matches
          * HelpOnSmileys - :) 와 같은 스마일리 넣기
          * HelpOnActions - 액션
          * HelpOnProcessingInstructions - 페이지 제어
          * HelpOnSubPages - 하위 페이지
  • HelpOnInstallation . . . . 3 matches
          * 윈도우즈에서 모니위키를 설치하는 방법은 ApacheMoniwikiInstaller을 참고 하십시오.
         $ tar --same-permissions -xzvf moniwiki-1.1.x.tgz
          * MoniWikiOptions 모니위키의 다양한 옵션을 조정한다.
  • HelpOnTables . . . . 3 matches
         ||셀 1||||spanning 2 columns||
         ||셀 1||||spanning 2 columns||
         ||<align="right">cell 1||||spanning 2 columns||
  • HowToStudyRefactoring . . . . 3 matches
         see also ["HowToStudyDesignPatterns"]
         OOP를 하든 안하든 프로그래밍이란 업을 하는 사람이라면 이 책은 자신의 공력을 서너 단계 레벨업시켜 줄 수 있다. 자질구레한 기술을 익히는 것이 아니고 기감과 내공을 증강하는 것이다. 혹자는 DesignPatterns 이전에 ["Refactoring"]을 봐야 한다고도 한다. 이 말이 어느 정도 일리가 있는 것이, 효과적인 학습은 문제 의식이 선행되어야 하기 때문이다. DesignPatterns는 거시적 차원에서 해결안들을 모아놓은 것이다. ["Refactoring"]을 보고 나쁜 냄새(Bad Smell)를 맡을 수 있는 후각을 발달시켜야 한다. ["Refactoring"]의 목록을 모두 외우는 것은 큰 의미가 없다. 그것보다 냄새나는 코드를 느낄 수 있는 감수성을 키우는 것이 더 중요하다. 본인은 일주일에 한 가지씩 나쁜 냄새를 정해놓고 그 기간 동안에는 자신이 접하는 모든 코드에서 그 냄새만이라도 확실히 맡도록 집중하는 방법을 권한다. 일명 ["일취집중후각법"]. 패턴 개념을 만든 건축가 크리스토퍼 알렉산더나 GoF의 랄프 존슨은 좋은 디자인이란 나쁜 것이 없는 상태라고 한다. 무색 무미 무취의 無爲적 自然 코드가 되는 그날을 위해 오늘도 우리는 리팩토링이라는 有爲를 익힌다. -- 김창준, ''마이크로소프트웨어 2001년 11월호''
  • HowToStudyXp . . . . 3 matches
          * XP Installed (Ron Jeffries et al) : C3 프로젝트에 적용한 예, 얻은 교훈 등
          * ["SoftwareCraftsmanship"] (Pete McBreen) : 새로운 프로그래머상
          *Ralph Johnson
  • JTDStudy/두번째과제/상욱 . . . . 3 matches
          private GridBagConstraints gc;
          gc = new GridBagConstraints();
          gl.setConstraints(button1, gc);
  • JavaNetworkProgramming . . . . 3 matches
          *그외 URL프로토콜,IP멀티캐스트,DNS,방화벽,HTTP 프록시 서버,SOCKS,방화벽 내부의 DNS에 관해 간단한 설명 나옴
          String response = lineNumberIn.getLineNumber() + " : " + line.toUpperCase() + "\n"; //줄번호를 얻어서 붙임 대문자로 바꿈
          dataOut.writeBytes(response); //BufferdOutputStream에 쓴다.
          if(object instanceof MyDatagramPacket)
  • JavaScript/2011년스터디/서지혜 . . . . 3 matches
         <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
         var instance = new Class_test(1, 2);
         Child.prototype.constructor = Child;
  • JavaStudy2003/두번째과제/입출력예제 . . . . 3 matches
          public InputOutputExample() { // Constructor
          output += input; // add text to String instance;
          output += input; // add text to String instance;
  • JavaStudy2004/자바따라잡기 . . . . 3 matches
          * No More Structures or Unions
          * No More Functions
          * No More Automatic Coercions: 자동 형 변환이 안된다.
  • LUA_5 . . . . 3 matches
         그렇기 때문에 테이블은 배열로도 사용 될 수 있습니다. 그럼 배열에 추가적으로 insert 하고 remove 해 보겠습니다.
         이렇게 귀찮게 추가를 할 수도 있지만, 간단히 table.insert(Fruit,"kiwi") 처럼 간단히 할 수도 있습니다. 삭제는 table.remove(Fruit,4) 로 4번째 아이템을 삭제 할 수 있습니다.
         > table.insert(Fruit,"mango")
  • LearningToDrive . . . . 3 matches
         I jerked back to attention as the car hit the gravel. My mom (her courage now amazes me) gently got the car back straight on the road. The she actually taught me about driving. "Driving is not about getting the car goint in the right direction. Driving is about constantly paying attention, making a little correction this way, a little correction that way."
         This is the paradigm for XP. There is no such thing as straight and level. Even if things seem to be going perfectly, you don't take your eyes off the road. Change is the only constant. Always be prepared to move a little this way, a little that way. Sometimes maybe you have to move in a completely different direction. That's life as a programmer.
         소프트웨어 개발을 운전을 배우는 것에 비유한 설명이 재미있네요. software project 의 Driver 는 customer 라는 말과.. Programmer 는 customer 에게 운전대를 주고, 그들에게 우리가 정확히 제대로 된 길에 있는지에 대해 feedback 을 주는 직업이라는 말이 인상적이여서. 그리고 customer 와 programmer 와의 의견이 수렴되어가는 과정이 머릿속으로 그려지는 것이 나름대로 인상적인중. 그리고 'Change is the only constant. Always be prepared to move a little this way, a little that way. Sometimes maybe you have to move in a completely different direction. That's life as a programmer.' 부분도.. 아.. 부지런해야 할 프로그래머. --;
  • Linux/필수명령어 . . . . 3 matches
         || chmod <permission> <filename> || 파일 권한(permissions) 변경||
         || uname || 시스템의 정보를 보여준다. ''console에서 uname -a 를 쳐보자'' ||
         || nslookup || 네임서버 질의 명령어 ||
  • LionsCommentaryOnUnix . . . . 3 matches
         노스모크세미나(Seminar:LionsCommentaryOnUnix) 위키에서 퍼왔습니다.
         에릭 레이먼드의 사전에 [http://watson-net.com/jargon/jargon.asp?w=Lions+Book Lions+Book] 라고 등재되어 있는 이 유서 깊은 책은 처음에는 불법복제판으로 나돌다가(책 표지에 한 명은 망보고 한 명은 불법 복제하는 그림이 있다) 드디어 정식 출간하게 되었다. 유닉스의 소스 코드와 함께 주석, 그리고 라이온의 "간단 명료 쌈박"한 커멘트가 함께 실려있다.
  • LispLanguage . . . . 3 matches
          * [http://dept-info.labri.fr/~strandh/Teaching/Programmation-Symbolique/Common/David-Lamkins/contents.html Successful Lisp:How to Understand and Use Common Lisp] - 책인듯(some 에 대한 설명 있음)
          * 참고링크 : http://stackoverflow.com/questions/7424307/can-i-save-source-files-in-clisp
         [http://www.clisp.org/ CLISP] : [Commom Lisp](ANSI 표준으로 지정된 Lisp 방언)의 구현체 중 하나.
         Moa:LispLanguage, Moa:AnsiCommonLisp
  • MFCStudy_2001/MMTimer . . . . 3 matches
          - Applications should not call any system-defined functions from inside a callback function, except for PostMessage, timeGetSystemTime, timeGetTime, timeSetEvent, timeKillEvent, midiOutShortMsg, midiOutLongMsg, and OutputDebugString.[[BR]]
  • McConnell . . . . 3 matches
         == Collaborations ==
         == Consequences ==
         == Related Patterns ==
  • MicrosoftFoundationClasses . . . . 3 matches
          virtual BOOL InitInstance();
         BOOL CExApp::InitInstance(void) {
          * {{{~cpp WinMain() 에서 InitInstance() 수행, document template, main frame window, document, view 를 생성한다.}}}
  • MindMapConceptMap . . . . 3 matches
         ConceptMap 은 Joseph D. Novak 이 개발한 지식표현법으로 MindMap 보다 먼저 개발되었다. (60-70년대) 교육학에서의 Constructivism 의 입장을 취한다.
         http://cmap.coginst.uwf.edu/info/cmap.gif
         관련 자료 : 'Learning How To Learn', 'Learning, Creating and Using Knowledge - Concept Maps as Facilitative Tools in Schools and Corporations' (Joseph D. Novak)
  • ObjectProgrammingInC . . . . 3 matches
          testClass instanceClass;
          instanceClass.method1= &Operator1;
          instanceClass.method1(3); // or Operator1(3);
  • OpenGL스터디 . . . . 3 matches
         || GLubyte, GLboolean || 부호없는 8비트 정수 || unsigned char || ub ||
         || GLushort || 부호없는 16비트 정수 || unsigned short || us ||
         || GLuint, GLenum, GLbitfield || 부호없는 32비트 정수 || unsigned long || ui ||
  • OperatingSystem . . . . 3 matches
         In computing, an operating system (OS) is the system software responsible for the direct control and management of hardware and basic system operations. Additionally, it provides a foundation upon which to run application software such as word processing programs and web browsers.
         일종의, [[SeparationOfConcerns]]라고 볼 수 있다. 사용자는 OperatingSystem (조금 더 엄밀히 이야기하자면, [[Kernel]]) 이 어떻게 memory 와 I/O를 관리하는지에 대해서 신경쓸 필요가 없다. (프로그래머라면 이야기가 조금 다를 수도 있겠지만 :) )
  • PatternTemplate . . . . 3 matches
         == Collaborations ==
         == Consequences ==
         == Related Patterns ==
  • ProjectGaia/계획설계 . . . . 3 matches
          1. 화일생성 - 레코드 10000개, unsorted 화일 생성 (생성 여부 확인을 위해 화면 출력 가능하도록 구현)
          unsorted 레코드를 sort하면서 page 단위 메모리에 적재를 하되, 이때 정렬 대상 레코드를 메모리에 모두 올려서 정렬하지 않고, memory size 10인 자연선택(교재155p)을 이용함. 여기서 memory size 10이라는 것은 10개의 레코드를 올릴 수 있는 공간을 말 하고, 가변 길이 레코드일 경우 실제 사이즈는 변할 수 있다. 자연선택 이후, m-원 다단계 합병(교재166p).
          ==== 3. 레코드 삽입 - insert_s() ====
  • ProjectZephyrus/PacketForm . . . . 3 matches
         Insert Buddy 친구 추가 관련
          # insertBuddy # BuddyID
          # insertBuddy # 0 - Success
  • PyIde/Exploration . . . . 3 matches
         Spike Solution 작업. 대강 Screenshot.
         BoaConstructor 로 UI 작업하고, 위험하겠지만 어차피 Spike 라 생각하고 Test 없이 지속적으로 리팩토링을 해 나가면서 prototype 을 만들어나갔다. StepwiseRefinement로 진행하니까 코드가 짧은 시간에 읽기 쉽고 빨리 진행되었다.
         BoaConstructor 를 이용, UI 를 만들었다. 처음에는 약간 익숙해지는게 쉽진 않았는데, 위자드 코드를 이제 이해할만 하다.
  • PyIde/Scintilla . . . . 3 matches
         Boa Constructor 나 Pythoncard, wxPython 의 samples 의 StyleEditor 등을 보면 STCStyleEditor 모듈이 있다. 이 모듈에서 initSTC 함수를 사용하면 된다.
         InsertText(firstChar, "##")
          InsertText(pos, padding)
  • RandomWalk2/Vector로2차원동적배열만들기 . . . . 3 matches
         ''DeleteMe 페이지 이름으로 MultidimensionalArray가 더 좋지 않을까요?''
          * [http://www.cuj.com/articles/2000/0012/0012c/0012c.htm?topic=articles A Class Template for N-Dimensional Generic Resizable Arrays]
          * Bjarne Stroustrup on Multidimensional Array [http://www.research.att.com/~bs/array34.c 1], [http://www.research.att.com/~bs/vector35.c 2]
  • Refactoring/BadSmellsInCode . . . . 3 matches
         == Message Chains ==
         MoveMethod, MoveField, ChangeBidirectionalAssociationsToUnidirectional, ReplaceInheritanceWithDelegation, HideDelegation
         IntroduceForeignMethod, IntroduceLocalExtension
  • RonJeffries . . . . 3 matches
         Could you give any advices for Korean young programmers who're just starting their careers? (considering the short history of IT industry in Korea, there are hardly any veterans with decades of experiences like you.) -- JuNe
         This will sound trite but I believe it. Work hard, be thoughtful about what happens. Work with as many other people as you can, teaching them and learning from them and with them. Read everything, try new ideas in small experiments. Focus on getting concrete feedback on what you are doing every day -- do not go for weeks or months designing or building without feedback. And above all, focus on delivering real value to the people who pay you: deliver value they can understand, every day. -- Ron Jeffries
  • Ruby/2011년스터디/세미나 . . . . 3 matches
          * netbeans의 ruby플러그인
         || [송지원] || irb || 불완전하다고 느껴진 이유가 irb 때문이기도 하다고 느껴짐.( NetBeans에서 코딩하면 잘되는게 irb라 안되는 것도 있어서) || ||
          * 저도 아직 RubyLanguage에 익숙하지 않아서 어려운 점이 많지만 조금이나마 공부하며 써보니 직관적이라는 생각이 많이 들었어요. 오늘 정보보호 수업을 들으며 EuclideanAlgorithm을 바로 구현해보니 더더욱 그런 점이 와닿네요. 좀 더 긴 소스코드를 작성하실땐 Netbeans를 이용하시는 걸 추천해요~ 매우 간단하게 설치하고 간단하게 사용할 수 있답니다. - [김수경]
  • STL/set . . . . 3 matches
         s.insert(5);
         s.insert(5);
         s.insert(5);
  • STL/vector . . . . 3 matches
         vector<int>::const_iterator i; // 벡터의 내용을 변경하지 않을 것임을 보장하는 반복자.
         vector<int>::const_iterator i;
         typedef vecCont::const_iterator vecIter;
  • ScheduledWalk/욱주&민수 . . . . 3 matches
          const int Size=6;
          //const int startX=startx;
          //const int startY=starty;
  • SecurityNeeds . . . . 3 matches
         be for legal reasons, but has been imposed as a requirment that I cannot
          Yes, see Wiki:OrgPatterns which runs in Wiki:FishBowl mode. - ''This may be exactly what I was looking for... thanks!!!''
  • Shoemaker's_Problem/곽병학 . . . . 3 matches
          bool operator() (const ps &s1, const ps &s2) {
          mm.insert(make_pair(p, i+1));
  • TAOCP/InformationStructures . . . . 3 matches
          ''새 원소 넣기(inserting an element at the rear of the queue)
          AnswerMe 그렇다면 새 원소를 넣으면 X[2]부터 들어간다는 건가? --[Leonardong]
         하지만 리스트가 더 많으면 bottom이 움직일 수 있어야 한다.(we must allow the "bottom" elements of the lists to change therir positions.) MIX에서 I번째 한 WORD를 rA에 가져오는 코드는 다음과 같다.
  • TheJavaMan . . . . 3 matches
          * [http://www.netbeans.org Netbeans]
          [NetBeans] - Sun사에서 만든 툴인데 GUI쪽이 이클립스보다 난거 같다. 진석이형이 추천해줌 -[iruril]
  • TheJavaMan/지뢰찾기 . . . . 3 matches
          setKans();
          setKans();
          public void setKans() {
  • TheKnightsOfTheRoundTable/문보창 . . . . 3 matches
         void process(const double a, const double b, const double c)
  • ToastOS . . . . 3 matches
         The war was brief, but harsh. Rising from the south the mighty RISC OS users banded together in a show of defiance against the dominance of Toast OS. They came upon the Toast OS users who had grown fat and content in their squalid surroundings of Toast OS Town. But it was not to last long. Battling with SWIs and the mighty XScale sword, the Toast OS masses were soon quietened and on the 3rd November 2002, RISC OS was victorious. Scroll to the bottom for further information.
         ["InsideCPU"] 인사이드 CPU [[BR]]
         RISC OS OWNS YOU ALL! http://www.hashriscos.org LET THE RISC OS VERSUS TOAST OS WAR COMMENCE!
         RISC OS burns TOAST!
  • UglyNumbers/문보창 . . . . 3 matches
         const int MAX = 2000;
         inline int comp(const void *i,const void *j) { return *(int *)i-*(int *)j; };
  • VisualStudio . . . . 3 matches
         VisualC++ 6.0은 VS.NET 계열에 비하여 상대적으로 버그가 많다. 가끔 IntelliSense 기능이 안될때가 많으며 클래스뷰도 깨지고, 전체 재 컴파일을 필요로하는 상황도 많이 발생한다. ( 혹시, Debug Mode에서 돌아가다가, Release Mode에서 돌아가지 않는 경우도 있는데 보통 이는 프로그램에서 실수 태반이다. 그러나 간혹 높은 최적화로 인해 돌아가지 않을때도 있을 수 있다. )
         === IntelliSense 기능이 제대로 작동하지 않을때 ===
          * Tools(도구) » Options(옵션) » Projects(프로젝트) » VC++ Directories(VC++ 디렉토리)를 선택합니다.
  • WebGL . . . . 3 matches
          mat4.translate(camMat, camMat, [0, 0, 0.1]);
          gl.drawElements(gl.TRIANGLES, buffer.index.length, gl.UNSIGNED_SHORT, 0);
          callback(null, ajax.responseText);
         http://greggman.github.io/webgl-fundamentals/webgl/lessons/webgl-how-it-works.html
  • WeightsAndMeasures/김상섭 . . . . 3 matches
         const int maxweight = 10000000;
         bool compare(const turtle & a, const turtle & b)
  • XSLT . . . . 3 matches
         #Redirect eXtensibleStylesheetLanguageTransformations
  • Yggdrasil/가속된씨플플/4장 . . . . 3 matches
          * 참조에 의한 전달은 그 전달인자의 별명(?)을 넘겨준다. 즉 그 변수 자체를 넘겨주는 것이나 다름없다. 즉, 함수 내에서 그 전달인자로 전달된 변수가 바뀌면 원래의 값에도 변화가 온다. 그래서 적절히 const로 값이 바뀌지 않도록 제한해주는 것도 좋다. 복사를 안 하므로 오버헤드를 줄일 수 있음.
         bool compare(const Student_info& x, const Student_info& y)
  • ZeroPageHistory . . . . 3 matches
         ||1학기 ||5기 회원모집. 제 4회 소프트웨어 전시회 및 4주년 기념행사. C 초급, Assembly, Inside PC 강좌. ||
          * C, Assembly Language, Inside PC
         ||1학기 ||7기 회원모집. 3D Graphic Programming. (긁어 놓은 게시물: Protect Mode, Functions Pointer, Compression Algorithm, About 3D, PSP의 구조, DMA, 3D Display, Tcl/Tk, C++Builder와 델파이, Lisp 강좌) ||
  • ZeroPageServer/Mirroring . . . . 3 matches
          max connections = 최대접속횟수
          ⑧ max connections : 동시에 접속 가능한 접속횟수를 설정한다. 무제한은 0으로 설정한다.
          max connections = 5
  • ZeroPageServer/SubVersion . . . . 3 matches
          CVS의 대용으로 개발되기 시작하여, 최근 fsfs의 지원 이후로 CVS를 대체해 나가는 추세이다. 많은 opensource 기반 프로젝트들이 SVN으로 옮겨갈 준비들을 하고 있다. 최신버전인 1.2버전부터는 bdb가 기본이었던 것이 fsfs가 기본 타입으로 설정되었다.
          * Faster access to old revisions
          svnserver을 이용하면 사용이 간편하고 서버를 관리하기도 편하지만, 아직 SubVersion이 계정 파일로 encrypt 된 것을 지원하지 않기 때문에 패스워드 노출의 소지가 상당히 높아서 이용하지 않았다. 차후 subversion 이 이 사항을 지원하면 추가하는 것이 좋을 듯 함.
          상단에 Public key for pasting into OpenSSH authorized_keys file 란에 있는 내용을 복사해서
  • ZeroPage성년식/거의모든ZP의역사 . . . . 3 matches
         ||1학기 ||5기 회원모집. 제 4회 소프트웨어 전시회 및 4주년 기념행사. C 초급, Assembly, Inside PC 강좌. ||
          * C, Assembly Language, Inside PC
         ||1학기 ||7기 회원모집. 3D Graphic Programming. (긁어 놓은 게시물: Protect Mode, Functions Pointer, Compression Algorithm, About 3D, PSP의 구조, DMA, 3D Display, Tcl/Tk, C++Builder와 델파이, Lisp 강좌) ||
  • [Lovely]boy^_^/Diary/7/8_14 . . . . 3 matches
          * 헉. 다이얼로그 기반에서는 WM_KEYDOWN이 잘 안된단다. PreTranslateMessage를 쓰라 하는군.
         lalala["insu"] = 200;
         cout << lalala["insu"]
  • [Lovely]boy^_^/EnglishGrammer/PresentPerfectAndPast . . . . 3 matches
          We also use the simple past some situations.( ... 어쩌라는 거야..ㅠ.ㅠ 쓸거면 확실하게 한군데만 쓰던지..;;)
          Yet = until now. It shows that the speaker is expecting something to happen. Use yet only in questions and negative sentences.
          ex) Sarah has lost her passport again. It's the second time this has happened.(not happens)
  • biblio.xsl . . . . 3 matches
          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
          xmlns="http://www.w3.org/TR/xhtml1/strict">
  • django/Model . . . . 3 matches
         Upload:Screenshot-Django-site-admin.png
         Upload:Screenshot-ManyToOne.png
         Upload:Screenshot-ManyToMany.png
  • erunc0/XP . . . . 3 matches
         == eXtreme Programming Installed ==
         '경험들' 로 친다면 오히려 Installed 가 맞는 선택일 것 같은데. --a 중간중간 실제 했었던 일들 이야기도 있었으니까 (RonJeffries 와 Chet 의 Pair 등) 뭐 암튼 적당하게 속도를 맞춰서 읽되, 한국어판 책의 서문 대로 '각 Practice를 극한까지 실험해보길'. 개인적으로 'Installed 가 추상적이다' 라는 말에는 반론 (Explained 라면 모를까..) 지금 XP 를 실천하는 중인 사람들을 보고 싶다면 뉴스그룹이 가장 생생하지 않을까 생각. (또는 http://xprogramming.com 의 글들) --["1002"][[BR]][[BR]]
  • i++VS++i . . . . 3 matches
         const MyInteger MyInteger::operator++(int) // 후위증가. 전달인자로 int 가 있지만
          const MyInteger oldValue = *this;
         static const int MAX = 5;
  • java/reflection . . . . 3 matches
         * just print "say Hello" string to console
          public static void main(String[] args) throws MalformedURLException, ClassNotFoundException, InvocationTargetException, IllegalAccessException, InstantiationException, NoSuchMethodException {
          Object object = helloWorld.newInstance();
  • neocoin/CodeScrap . . . . 3 matches
         static const int INIT_START;
          // console 모드에서는 괜찮다.
         const int Board::INIT_START = 0;
  • phoenix_insky . . . . 3 matches
         == phoenix_insky or cyberjhs or .. etc.. ==
          * E-Mail: phoenix_insky@hanmail.net
          * 메신저: phoenix_insky@hotmail.com
  • wxPython . . . . 3 matches
          * http://huniv.hongik.ac.kr/~yong/MoinMoin/wiki-moinmoin/moin.cgi/PythonScript
          * http://maso.zdnet.co.kr/20010300/insidelinux/article.html?id=335&forum=0 - 마소 2001년 3월호 관련 기사
          * [http://sourceforge.net/projects/boa-constructor BoaConstructor] - wxPython 기반의 GUI IDE. 잠깐 써봤는데 대단대단! (단, 아직은 불안정함)
  • 간단한C언어문제 . . . . 3 matches
         ANSI C를 규격으로 하는 Compiler (C90)
         const char *a;
         옳지 않다. 문제점은 b=a;에 있다. const char *형을 char *형에 대입할 수 없다. 컴파일러 에러. - [이영호]
         옳지않다. atof함수로 float변환은 되었지만, atof함수의 프로토 타입이 있는 헤더를 추가하지 않았기 때문에 int형으로 return된다. 즉, num엔 숫자 123이 담긴다. ANSI C99에서는 프로토타입이 선언되지 않으면 컴파일되지 않도록 변했다. - [이영호]
         옳지않다. ss[]의 "문자"란 단어는 isdigit로 확인 할 수 없다. (확장코드이므로.) 이것을 isdigit로 확인 하려면 unsigned char형으로 선언 하면 된다. 기본 char형은 signed형이다. - [이영호]
  • 강희경/메모장 . . . . 3 matches
          printf("\n\nsum = %d, avg = %.1f", aArrayData->sum, aArrayData->avg);
          printf("\nscore[%d] : %d, rank = %d\n", count, aArray[count].score, aArray[count].rank);
          const int beveragePrice[3] = {100, 200, 300};
  • 구근 . . . . 3 matches
          * 홈페이지 & 개인위키 : http://www.passioninside.com/
          * E 메일 : passion at passioninside dot com
          * [http://www.passioninside.com/wiki/passion/moin.cgi/Passion_2f_c3_d6_b1_d9_bc_d2_bd_c4 최근소식]
  • 금고/김상섭 . . . . 3 matches
         unsigned int table[501][501];
         unsigned int temp_table[2][501];
         unsigned int full[10];
  • 김동준/Project/Data_Structure_Overview/Chapter1 . . . . 3 matches
          float input[MAX_SIZE], answer;
          answer = sum(input, MAX_SIZE);
          printf("The sum is: %f\n", answer);
  • 다이얼로그박스의 엔터키 막기 . . . . 3 matches
         1. Add Virtual Function 클릭해서 PretranslateMessage 함수 추가
          BOOL CLogInDlg::PreTranslateMessage(MSG* pMsg)
          return CDialog::PreTranslateMessage(pMsg);
  • 데블스캠프2002/날적이 . . . . 3 matches
         2. Scenario Driven - 앞의 CRC 세션때에는 일반적으로 Class 를 추출 -> Requirement 를 읽어나가면서 각 Class 별로 Responsibility 를 주욱 나열 -> 프로그램 작동시 Scenario 를 정리, Responsibility 를 추가. 의 과정을 거쳤다. 이번에는 아에 처음부터 Scenario 를 생각하며 각 Class 별 Responsibility 를 적어나갔다. Colloboration 이 필요한 곳에는 구체적 정보를 적어나가면서 각 Class 별 필요정보를 적었다. 그리하여 모든 Scenario 가 끝나면 디자인 세션을 끝내었다.
  • 데블스캠프2002/진행상황 . . . . 3 matches
         EventDrivenProgramming 의 설명에서 또하나의 새로운 시각을 얻었다. 전에는 Finite State Machine 을 보면서 Program = State Transition 이란 생각을 했었는데, Problem Solving 과 State Transition 의 연관관계를 짚어지며 최종적으로 Problem Solving = State Transition = Program 이라는 A=B, B=C, 고로 A=C 라는. 아, 이날 필기해둔 종이를 잃어버린게 아쉽다. 찾는대로 정리를; --["1002"]
  • 데블스캠프2006/월요일/연습문제/웹서버작성/변형진 . . . . 3 matches
          unset($res);
          unset($to_read);
          unset($result);
  • 데블스캠프2006/화요일/tar/나휘동 . . . . 3 matches
          const int MAX_BUF= 1024;
          for ( unsigned int i= 0 ; i < file.size ; i++ )
          for( unsigned int i= 0 ; i < file.size ; i++ )
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/정종록 . . . . 3 matches
         body {background-image:url('http://wstatic.dcinside.com/new/photo/sosimarine.jpg')}
         //background:url("http://wstatic.dcinside.com/new/photo/sosimarine.jpg");
         body {background-image:url('http://wstatic.dcinside.com/new/photo/sosimarine.jpg');
  • 데블스캠프2011/넷째날/Android/송지원 . . . . 3 matches
          public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/김수경 . . . . 3 matches
         using System.Collections.Generic;
          this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
  • 레밍즈프로젝트/이승한 . . . . 3 matches
         output 인터페이스 ConsoleCoutput 제작.
         getmetry.insert, insertCpyPixel, deletePixel 제작.
  • 로마숫자바꾸기/조현태 . . . . 3 matches
          const int DATA_SIZE=3;
          const int NUMBER_DATA[DATA_SIZE]={1,5,10};
          const char CHAR_DATA[DATA_SIZE][3]={"Ⅰ","Ⅴ","Ⅹ"};
  • 몸짱프로젝트/DisplayPumutation . . . . 3 matches
         void perm(char * list, int i , const int n);
         const int SIZE = 4;
         void perm(char * list, int i , const int n)
  • 몸짱프로젝트/Maze . . . . 3 matches
         const int M = 7;
         const int P = 7;
         const int MAX = M*P;
  • 문자열검색/조현태 . . . . 3 matches
         const int MAX_LONG=40;
         const int TRUE=1;
         const int FALSE=0;
  • 반복문자열/임다찬 . . . . 3 matches
         const에 대해서 배웠다면 char* 대신에 const char*를 사용하는 것이 좋습니다.-- [Leonardong]
         const char*는 사용안해봤어요- [임다찬]
  • 비밀키/권정욱 . . . . 3 matches
          char unsecret[30];
          cin >> unsecret;
          ifstream ffin(unsecret);
  • 새싹교실/2011/무전취식/레벨2 . . . . 3 matches
          * unsinged int와 int의 차이점? 표현 범위가 어디서부터 어디까지?
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/무전취식/레벨3 . . . . 3 matches
          * unsinged int와 int의 차이점? 표현 범위가 어디서부터 어디까지? WHY??? 다시한번 생각해봅시다.
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/AClass . . . . 3 matches
          * cmd창, main parameter사용법, static, const
          * static, const 이란??
          * [황혜림] - 상속배웠습니다. protected가 무엇인지 배웠고 오버로딩, 오버라이딩이 무엇인지도 배웠습니다. static과 const도 배웠습니다.
  • 새싹교실/2012/AClass/1회차 . . . . 3 matches
         -상수형 :상수는 변환 할 수 없는 고유의 수, 프로그램을 개발할 때 변경되어 발생 할 수 있는 버그등의 위험을 줄이기 위해 사용(#define,const)
          printf(“relationships they satisfy: ”);
          - const int max=100; (int형 상수 max를 100으로 선언), #define AA 35(형태를 지정하지 않는 상수명 AA에 정수형 값을 대입)
  • 새싹교실/2012/아우토반/앞반/4.12 . . . . 3 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
          srand((unsigned)time(NULL));
  • 새싹교실/2012/아우토반/앞반/5.10 . . . . 3 matches
          * 포인터와 상수(Const)
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 서로간의 참조 . . . . 3 matches
          CView* GetActiveView() const;
          CFrameWnd* GetParentFrame() const;
          CDocument* GetDocument() const;
  • 식인종과선교사문제/조현태 . . . . 3 matches
         const int NUMBER_MOVE_TYPE = 5;
         const int CAN_MOVE_WHITE[NUMBER_MOVE_TYPE] = {0, 0, 1, 1, 2};
         const int CAN_MOVE_BLACK[NUMBER_MOVE_TYPE] = {1, 2, 0, 1, 0};
  • 이승한/java . . . . 3 matches
         객체 관련 키워드 : new, instanceof, this, super, null
         기타 : transient, volatile, package, import, synchronized, native, final, static, strictfp
         goto, const 는 사용하지 못한다.
  • 임베디드방향과가능성/정보 . . . . 3 matches
         둘째로 기술적으로 말씀드리죠. pc의 경우는 application만 하면 됩니다. 그 좋은 visual tool들이 hw specific한 부분과 커널 관련한 부분은 다 알아서 처리해 줍니다. 하지만 임베디드 분야는 이 부분을 엔지니어가 다 알아서 해야 하죠. pc의 경우 windows를 알 필요없지만 임베디드 엔지니어는 os kernel을 만드시 안고 들어가야 합니다. 이 뿐만 아니라 application specific/implementation specific하기 때문에 해당 응용분야에 대한 지식도 가지고 있어야 하며/ 많은constraint 때문에 implementation 할 때hw/sw에 관한 지식도 많아야 하죠. 경우에 따라서는 chip design 분야와 접목될 수도 있습니다.(개인적으로 fpga 분야가 활성화 된다면 fpga도 임베디드와 바로 엮어질거라 생각합니다. 이른바 SoC+임베디드죠. SoC가 쓰이는 분야의 대부분 곧 임베디드 기기일 겁니다. ASIC도 application specific하다는 점에서 임베디드 기기와 성질이 비슷하고 asic의 타겟은 대부분 임베디드 기기입니다.) 대부분의 비메모리 반도체칩은 그 용도가 정해져있으며, 비메모리 반도체를 사용하는(혹은 설계하는 사람)을 두고 임베디드 엔지니어라 할 수 있죠. 사실 임베디드는 범위가 매우 넓기 때문에 한가지로 한정하기 힘듭니다.
         한마디 더 추가하겠습니다. constraint가 거의 없는 시스템이 pc입니다. (단순pc라면 200만원대 이하가 유일한 조건인가요..? 특별한 작업을 위한 시스템이면 수천만원도 가능하겠군요) 하지만 임베디드 시스템은 많은 constraint가 존재합니다. 크기,무게,가격,온도,습도,처리량,time-to-market 등등..
  • 임인택/AdvancedDigitalImageProcessing . . . . 3 matches
          http://www.google.co.kr/url?sa=U&start=8&q=http://www.vision.caltech.edu/pmoreels/Publications/PmoreelsIEEE_IP_Jul03.pdf&e=747
         === Hough Transform ===
          http://planetmath.org/encyclopedia/HoughTransform.html
  • 임인택/내손을거친책들 . . . . 3 matches
          * ObjectOrientedReengineeringPatterns
          * ReadingWithoutNonsense
  • 정규표현식/스터디/문자집합으로찾기 . . . . 3 matches
          * 정규표현식 [ ns ] a.\.xls
          * {{{[ns]a[0123456789]\.xls}}}이나 {{{[ns]a[0-9]\.xls}}}
  • 정모/2011.3.21 . . . . 3 matches
          * [DesignPatterns/2011년스터디]
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 정모/2011.3.28 . . . . 3 matches
          * [DesignPatterns/2011년스터디]
          * HolubOnPatterns 0장을 읽고 이야기를 나누었다.
          * 그렇다면 [DesignPatterns/2011년스터디]를 함께 해보는게 좋을 수도 있겠네요. - [변형진]
  • 정모/2011.3.7 . . . . 3 matches
          * [DesignPatterns/2011년스터디]
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 조영준/CodeRace/130506 . . . . 3 matches
         using System.Collections.Generic;
          Console.Write(p[i].word+" "+p[i].count+"\n");
          Console.Read();
  • 주요한/노트북선택... . . . . 3 matches
          나같은 경우에는 [http://kr.dcinside14.imagesearch.yahoo.com/zb40/zboard.php?id=notesell nbinsde노트북중고] 에서 중고 매물로 소니바이오 S38LP를 158만원에 샀는데,, 아는 선배는 같은것을 새거로 290만원 가까이 주고 샀었다는 말을 주고 보람도 있었음,,
          노트북은 에버라텍이 가격대 성능비가 괜찮다고 하고, IBM 거는 튼튼하다고 하고 뭐 여러가지가 있는데, 저 http://nbinsde.com 에서 직접 정보를 모아 보는게 제일 좋을듯... 나같으면 새거같은 중고 노트북을 사겠지만.. - [(namsang)]
  • 컴퓨터공부지도 . . . . 3 matches
         Windows Programming 이라고 한다면 Windows 운영체제에서 Windows 관련 API 를 이용 (혹은 관련 Framework), 프로그래밍을 하는 것을 의미한다. 보통 다루는 영역은 다음과 같다. (이 영역은 꼭 Windows 이기에 생기는 영역들이 아니다. Windows 이기에 생기는 영역들은 Shell Extension 이나 ActiveX, DirectX 정도? 하지만, 가로지르기는 어떻게든지 가능하다)
         안내 서적으로는 W. Richard Stevens나 Douglas E. Comer의 책을 많이 본다. 후자 쪽이 조금 더 개념적이고, 더 쉽다.
         See Also HowToStudyXp, HowToReadIt, HowToStudyDataStructureAndAlgorithms, HowToStudyDesignPatterns, HowToStudyRefactoring
  • 콤비반장의메모 . . . . 3 matches
          만화 형사 가제트(Inspector Gadget)에서 콤비 반장(Chief Quimby)은 형사 가제트에게 비밀 지령을 내릴땐 항상 자동 폭파되는 특별한 메모지를 사용하곤 했다. 그러나 인터넷 시대를 맞이한 콤비 반장은 이제 메모지 대신 한번만 사용할 수 있는 파일을 사용하려고 한다. ["콤비반장의메모"]와 같은 일회용 정보는 컴퓨터로 어떻게 구현할 수 있을까.
          암호화와 동시에 접근제어(AccessControl)가 필요한 문제인것 같아요. 접근제어는 다분히 시스템 의존적이라 일반적인 해결이 쉽지 않은 문제죠. http://elicense.com/what/music.asp 이런식의 해법도 이미 나와있더군요. --["데기"]
         see also UriWiki:InstantMp3Player
  • 큐와 스택/문원명 . . . . 3 matches
          AnswerMe 해당 코드를 올려주세요.#1, #2, #3 를 어떻게 바꾸시는지 모르겠습니다. 그리고 이 페이지 이름 정리 해주세요.
         const int ASIZE = 5;
         const int ASIZE = 5;
  • 토이/숫자뒤집기/김남훈 . . . . 3 matches
         const int MAX_BUF = 10;
         void inverseNumber(const char * input);
         void inverseNumber(const char * input) {
  • 프로그래머가알아야할97가지/ActWithPrudence . . . . 3 matches
         이 글은 [http://creativecommons.org/licenses/by/3.0/us/ Creative Commons Attribution 3] 라이센스로 작성되었습니다.
  • 프로그래밍언어와학습 . . . . 3 matches
         The fatal metaphor of progress, which means leaving things behind us, has utterly obscured the real idea of growth, which means leaving things inside us.
  • 하노이탑/조현태 . . . . 3 matches
         int answer=0;
          cout << "답은 "<< answer << "입니다.";
          ++answer;
  • 0PlayerProject/프레임버퍼사용법 . . . . 2 matches
          unsigned short *data;
          data = (unsigned short*)mmap(0, 320 * 240 * 2, PROT_READ | PROT_WRITE, MAP_SHARED, fb0, 0);
  • 10학번 c++ 프로젝트/소스 . . . . 2 matches
          SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),Cur);
          CONSOLE_CURSOR_INFO CurInfo;
          SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE),&CurInfo);
  • 1thPCinCAUCSE/ProblemA/Solution/zennith . . . . 2 matches
         double meetPins[11] = {0, 5.5 + 1 * 60, 10.5 + 2 * 60, 16.5 + 3 * 60,
          if (time < meetPins[i])
  • 2011년MT . . . . 2 matches
          * http://www.cosmospension.com/home/page9_1.htm
         * R means 'Refunded'.
  • 2학기파이선스터디/채팅창 . . . . 2 matches
          self.show.insert(END, str(i))
          self.list.insert(END, str(i))
  • 2학기파이선스터디/함수 . . . . 2 matches
         >>> f(width = 10, height=5, depth=10, dimension=3)
         {'depth': 10, 'dimension': 3}
  • 3N+1Problem/강희경 . . . . 2 matches
         def PreInspection(aMin, aMax, aBinaryMap):
          PreInspection(min, max, binaryMap)
  • 5인용C++스터디/더블버퍼링 . . . . 2 matches
         SetBkMode(hMemDC,TRANSPARENT);
          hBaby=LoadBitmap(g_hInst,MAKEINTRESOURCE(IDB_BITMAP1));
          // TODO: add construction code here
  • 5인용C++스터디/에디트박스와콤보박스 . . . . 2 matches
         BOOL Create(DWORD dwstyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
         //Generated message map functions
  • ACM_ICPC/2013년스터디 . . . . 2 matches
          * [http://stackoverflow.com/questions/2631726/how-to-determine-the-longest-increasing-subsequence-using-dynamic-programming Time Complexity O(n log n) 의 Up Sequence]
          * Consonants, Pogo, The Great Wall
  • ASXMetafile . . . . 2 matches
          * <Entry>: Serves a playlist of media by inserting multiple "Entry" elements in succession.
          o ASX files, on the other hand, are small text files that can always sit on an HTTP server. When the browser interprets the ASX file, it access the streaming media file that is specified inside the ASX file, from the proper HTTP, mms, or file server.
  • A_Multiplication_Game/곽병학 . . . . 2 matches
          cout<<"Stan wins."<<endl;
          cout<<"Ollie wins."<<endl;
  • A_Multiplication_Game/권영기 . . . . 2 matches
          if(cnt % 2 == 1)printf("Stan wins.\n");
          else printf("Ollie wins.\n");
  • A_Multiplication_Game/김태진 . . . . 2 matches
          printf("Stan wins.");
          printf("Ollie wins.");
  • ActiveTemplateLibrary . . . . 2 matches
         ex) OLE2CA : '''OLE''' string '''2'''(to) '''C'''onst '''A'''nsi sting
  • Ajax . . . . 2 matches
         Ajax or Asynchronous JavaScript and XML is a term describing a web development technique for creating interactive web applications using a combination of:
         Ajax applications use web browsers that support the above technologies as a platform to run on. Browsers that support these technologies include Mozilla Firefox, Microsoft Internet Explorer, Opera, Konqueror and Apple Safari.
  • Applet포함HTML/상욱 . . . . 2 matches
          codebase = "http://java.sun.com/products/plugin/autodl/jinstall-1_4_1_01-windows-i586.cab#Version=1,4,1,1"
          pluginspage = "http://java.sun.com/products/plugin/index.html#download">
  • Applet포함HTML/영동 . . . . 2 matches
         * 음... HTML 컨버터로 컨버트하긴 했는데 ftp사용법을 몰라서 계정에 올리는 법을 모르겠네요. 그러한 관계로, 상욱이처럼 파일 내용만 올릴게요. ftp쓰는 법 배워서 링크시킬게요... [http://165.194.17.15/pub/util/WinSCP2.exe WinSCP 2.0 Beta]
          codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_0_03-win.cab#Version=1,4,0,30">
          pluginspage="http://java.sun.com/products/plugin/index.html#download">
  • Applet포함HTML/진영 . . . . 2 matches
          codebase = "http://java.sun.com/products/plugin/autodl/jinstall-1_4_1_01-windows-i586.cab#Version=1,4,1,1"
          pluginspage = "http://java.sun.com/products/plugin/index.html#download">
  • ArtificialIntelligenceClass . . . . 2 matches
          * [http://aima.cs.berkeley.edu/instructors.html 미국대학 시험문제들]
         요새 궁리하는건, othello team 들끼리 OpenSpaceTechnology 로 토론을 하는 시간을 가지는 건 어떨까 하는 생각을 해본다. 다양한 주제들이 나올 수 있을것 같은데.. 작게는 책에서의 knowledge representation 부분을 어떻게 실제 코드로 구현할 것인가부터 시작해서, minimax 나 alpha-beta Cutoff 의 실제 구현 모습, 알고리즘을 좀 더 빠르고 쉬우면서 정확하게 구현하는 방법 (나라면 당연히 스크립트 언어로 먼저 Prototyping 해보기) 등. 이에 대해서 교수님까지 참여하셔서 실제 우리가 당면한 컨텍스트에서부터 시작해서 끌어올려주시면 어떨까 하는 상상을 해보곤 한다.
          * [http://www.cs.uiowa.edu/~hzhang/c145/mid1ans.pdf uiowa대학문제(답포함)]
  • Atom . . . . 2 matches
         Atom is an XML-based document format and HTTP-based protocol designed for the syndication of Web content such as weblogs and news headlines to Web sites as well as directly to user agents. It is based on experience gained in using the various versions of RSS. Atom was briefly known as "Pie" and then "Echo".
         Before the Atom work entered the IETF process, the group produced "Atom 0.3", which has support from a fairly wide variety of syndication tools both on the publishing and consuming side. In particular, it is generated by several Google-related services, namely Blogger and Gmail.
  • BeeMaja/조현태 . . . . 2 matches
          const int PLUS_X[6] = {-1, +0, +1, +1, +0, -1};
          const int PLUS_Y[6] = {+0, -1, -1, +0, +1, +1};
  • Bioinformatics . . . . 2 matches
          * 교재 : “Bioinformatics: A practical guide to the analysis of genes and proteins”, Second Edition edited by Baxevanis & Ouellette
         Entrez는 통합 데이터베이스 retrieval 시스템으로서 DNA, Protein, genome mapping, population set, Protein structure, 문헌 검색이 가능하다. Entrez에서 Sequence, 특히 Protein Sequence는 GenBank protein translation, PIR, PDB, RefSeq를 포함한 다양한 DB들에 있는 서열을 검색할 수 있다.
  • BusSimulation/상협 . . . . 2 matches
          void StationStopProcess(Bus &CheckedBus, int Station); //버스 정류장 버스가 도착했을 경우
          StationStopProcess(m_buses[i],j); //정차할경우 정차할때 발생하는 이벤트들을 발생
         void BusSimulation::StationStopProcess(Bus &CheckedBus, int Station)
          int consumptionTime = real_passenger*((m_ridingSecond)/60);
          m_buses[k].IncreaseMinute(consumptionTime);
  • C++스터디_2005여름/도서관리프로그램/조현태 . . . . 2 matches
          const char output_data[2][5]={"대여","반납"};
         const int MAX_HANGMOK=4;
  • C99표준에추가된C언어의엄청좋은기능 . . . . 2 matches
         AnswerMe)
          * 알아본 결과 C99에서 지원되는 것으로 표준이 맞으며, 단지 VS의 컴파일러가 C99를 완전히 만족시키지 않기 때문이라고함. gcc도 3.0 이후버전부터 지원된 기능으로 variable-length array 이라고 부르는군요. (gcc는 C99발표이전부터 extension 의 형태로 지원을 하기는 했다고 합니다.) - [eternalbleu]
  • CPPStudy_2005_1/STL성적처리_1_class . . . . 2 matches
          for(vector<string>::const_iterator it = subject.begin() ;
          for(vector<int>::const_iterator it2 = scores.begin();it2!=scores.end();++it2)
  • CPPStudy_2005_1/STL성적처리_3_class . . . . 2 matches
         const int SUBJECT_NO = 4;
          unsigned int total;
  • CVS/길동씨의CVS사용기ForLocal . . . . 2 matches
         total revisions: 2; selected revisions: 2
  • CVS/길동씨의CVS사용기ForRemote . . . . 2 matches
         total revisions: 2; selected revisions: 2
  • Chapter I - Sample Code . . . . 2 matches
          === Installing uCOS-II ===
          typedef unsigned char INT8U
          uCOS-II는 여타의 DOS Application 과 비슷하다. 다른말로는 uCOS-II의 코드는 main 함수에서부터 시작한다. uCOS-II는 멀티태스킹과 각 task 마다 고유의 스택을 할당하기 때문에, uCOS-II를 구동시키려면 이전 DOS의 상태를 저장시켜야하고, uCOS-II의 구동이 종료되면서 저장된 상태를 불러와 DOS수행을 계속하여야 한다. 도스의 상태를 저장하는 함수는 PC_DosSaveReturn()이고 저장된 DOS의 상태를 불러오는것은 PC_DOSReturn() 함수이다. PC.C 파일에는 ANSI C 함수인 setjmp()함수와 longjmp()함수를 서로 연관시켜서 도스의 상태를 저장시키고, 불러온다. 이 함수는 Borland C++ 컴파일러 라이브러리를 비롯한 여타의 컴파일러 라이브러리에서 제공한다.[[BR]]
  • Chapter II - Real-Time Systems Concepts . . . . 2 matches
         === Priority Inversions ===
         === Interrupt Response ===
  • ChocolateChipCookies/조현태 . . . . 2 matches
          bool operator == (const SMyPoint& target)
         const double MAX_LEGTH = 5.0;
  • CivaProject . . . . 2 matches
          const ElementType operator[] (int index) const throw() {
  • ClassifyByAnagram/상규 . . . . 2 matches
          void InsertWord(string Word)
          dic.InsertWord(word);
  • ClassifyByAnagram/인수 . . . . 2 matches
          void CalWhatAnagram(const string& str)
          MCI CalculateWhatAnagram(const string& str)
  • CodeConvention . . . . 2 matches
         SeeAlso Wiki:CodingConventions, CodingStandard
         Answer Me 어떤분류?
  • CodeRace/20060105/민경선호재선 . . . . 2 matches
          if (map.containsKey(word)) {
          Collections.sort(list, new DataComparator());
  • CodeRace/20060105/아영보창 . . . . 2 matches
          bool operator() (const Word* a, const Word* b)
  • ConstructorParameterMethod . . . . 2 matches
         === Constructor Parameter Method ===
         Constructor Method로 인스턴스를 만들때, 그리로 넘겨준 파라메터들을 새롭게 만들어진 인스턴스로 어떻게 갖고 오는가? 가장 유연한 방법은 각각의 변수에 대해 setter들을 만들어 주는 것이다. 즉,
  • Conversion . . . . 2 matches
         [SmalltalkBestPracticePatterns/Behavior] , [SmalltalkBestPracticePatterns]
  • CryptKicker2/문보창 . . . . 2 matches
         const int MAX_LEN = 81;
         const int PROPER_LEN = 43;
  • CxxTest . . . . 2 matches
          extension = eachFile[lastestPeriod+1:]
          print fileName, extension
  • DebuggingSeminar_2005/DebugCRT . . . . 2 matches
         = output in debug console (vc++6) =
         Upload:dcrt_output_debug_console.jpg
  • DesignPatterns . . . . 2 matches
         see also [HowToStudyDesignPatterns], [DoWeHaveToStudyDesignPatterns]
  • DirectDraw . . . . 2 matches
         Visual C++ -> Tools -> Options -> Directories에서 [[BR]]
         [1002] Output 이 급하다면 DirectX Media SDK 를 이용할 수도 있습니다. 알파블랜딩 기본적으로 지원합니다. 그리고 Transform Libary 를 이용하면 화면 전환과 관련된 특수효과들을 이용할 수도 있죠. 하지만, 공부하시는 입장에서는 이론을 파고들어서 직접 해보는 것이 좋겠죠.[[BR]]
  • DoItAgainToLearn . . . . 2 matches
         In my own experience of designing difficult algorithms, I find a certain technique most helpfult in expanding my own capabilities. After solving a challenging problem, I solve it again from scratch, retracing only the ''insight'' of the earlier solution. I repeat this until the solution is as clear and direct as I can hope for. Then I look for a general rule for attacking similar problems, that ''would'' have led me to approach the given problem in the most efficient way the first time. Often, such a rule is of permanent value. ...... The rules of Fortran can be learned within a few hours; the associated paradigms take much longer, both to learn and to unlearn. --Robert W. Floyd
         Even fairly good students, when they have obtained the solution of the problem and written down neatly the argument, shut their books and look for something else. Doing so, they miss an important and instructive phase of the work. ... A good teacher should understand and impress on his students the view that no problem whatever is completely exhausted. --George Polya
  • EclipsePlugin . . . . 2 matches
         ==== Eclipse Platform Extensions ====
  • EcologicalBinPacking/강희경 . . . . 2 matches
         #define NumberOfResultInformations 2
          int *resultInformation = new int[NumberOfResultInformations];
  • EdsgerDijkstra . . . . 2 matches
          * [http://www.cs.utexas.edu/users/EWD/ewd02xx/EWD227.PDF StepwiseProgramConstruction] - Structured Programming
         위의 Stepwise Program Construction과 The Humble Programmer는 초강력 추천. 감동의 물결. 아마 그 글을 읽고 몇 주 동안은 여러가지 실험을 해보며 흥미진진하게 보내게 될 것이며, 몇 몇은 프로그래밍에 획기적인 전환점을 맞이할 수 있을 것이라 믿음. --김창준
  • EightQueenProblem/김형용 . . . . 2 matches
         def makeQueensDontFight():
          qDict = makeQueensDontFight()
  • EightQueenProblem/용쟁호투 . . . . 2 matches
         global transaction sqlca
         sqlca=create transaction
         event open;NS:
         IF NOT wf_create_queen() THEN GOTO NS
  • EightQueenProblem/허아영 . . . . 2 matches
          unsigned int queenNum = 0;
          unsigned int tryX = 0, tryY = 0;
  • EightQueenProblemDiscussion . . . . 2 matches
          def testFindQueenInSameVertical (self):
          self.assertEquals (self.bd.FindQueenInSameVertical (2), 1)
          self.assertEquals (self.bd.FindQueenInSameVertical (3), 0)
          def testFindQueenInSameHorizonal (self):
          self.assertEquals (self.bd.FindQueenInSameHorizonal (2), 1)
          self.assertEquals (self.bd.FindQueenInSameHorizonal (3), 0)
          def testFindQueenInSameCrossLeftTopToRightBottom (self):
          self.assertEquals (self.bd.FindQueenInSameCrossLeftTopToRightBottom (3,3), 1)
          self.assertEquals (self.bd.FindQueenInSameCrossLeftTopToRightBottom (1,1), 1)
          self.assertEquals (self.bd.FindQueenInSameCrossLeftTopToRightBottom (4,1), 0)
          def testFindQueenInSameCrossLeftBottomToRightTop (self):
          self.assertEquals (self.bd.FindQueenInSameCrossLeftBottomToRightTop (3,3), 0)
          self.assertEquals (self.bd.FindQueenInSameCrossLeftBottomToRightTop (3,1), 1)
          self.assertEquals (self.bd.FindQueenInSameCrossLeftBottomToRightTop (1,3), 1)
         Eight Queens program written by Marcel van Kervinck
         When the program is run, one has to give a number n (smaller than 32), and the program will return in how many ways n Queens can be put on a n by n board in such a way that they cannot beat each other.
  • EnglishSpeaking/TheSimpsons/S01E01 . . . . 2 matches
         = Title : Simpsons Roasting on an Open Fire =
         [EnglishSpeaking/TheSimpsons]
  • EnglishSpeaking/TheSimpsons/S01E02 . . . . 2 matches
         Homer : Hey, no abbreviations.
         [EnglishSpeaking/TheSimpsons]
  • ErdosNumbers/황재선 . . . . 2 matches
          if (tm.containsKey(name)) {
          assertEquals(true, tm.containsKey("Smith, M.N."));
  • Euclid'sGame/강소현 . . . . 2 matches
          System.out.println("Ollie wins");
          System.out.println("Stan wins");
  • GTK+ . . . . 2 matches
         GTK+ is free software and part of the GNU Project. However, the licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties.
  • Hacking/20041028두번째모임 . . . . 2 matches
          http://www.debian.org/devel/debian-installer
          [http://khdp.org/docs/trans_doc/phrack-51-11.txt Phrack 51호 The art of scanning 번역]
  • HaskellLanguage . . . . 2 matches
          * 저 위에보면, featuring static typing, higher-order functions, polymorphism, type classes and modadic effects 라고 있는데, 이것들이 아마 haskell language의 큰 특징들이 아닐까 한다. 각각에 대해서 알아두는게 도움이 될듯. ([http://www.nomaware.com/monads/html/ monad관련자료])- 임인택
          Multiple declarations of `Main.f'
  • HelpOnAdministration . . . . 2 matches
          * HelpOnInstallation - 설치하려면
          * HelpOnCvsInstallation - CVS로부터 다운받아서 설치하려면
  • HelpOnConfiguration . . . . 2 matches
         config.php에서 $menu, $icon, $icons를 설정할 수 있습니다.
          * MoniWikiOptions
  • HelpOnLists . . . . 2 matches
         Variations of numbered lists:
         Variations of numbered lists:
  • HowToStudyInGroups . . . . 2 matches
         Anti-Patterns and Solutions:
  • InnoSetup . . . . 2 matches
         Inno Setup is a free installer for Windows programs. First introduced in 1997, Inno Setup today rivals and even surpasses many commercial installers in feature set and stability.
         [NSIS] 처럼 무료로 쓸 수 있는 또하나의 인스톨러 프로그램
  • IpscLoadBalancing . . . . 2 matches
          for data,answer in self.l:
          self.assertEquals(answer,actual)
  • IsbnMap . . . . 2 matches
         Tmecca http://www.tmecca.co.kr/search/isbnsearch.html?isbnstr=
  • JSP . . . . 2 matches
         == Install and Excute ==
         1. http://tomcat.apache.org 에서 4.1 v 받아서 Install
  • JUnit . . . . 2 matches
          * http://www.yeonsh.com/index.php?display=JUnit - 연승훈씨의 홈페이지. Cook Book (주소변경)
          console mode 로 표현하고 싶다면 textui runner 를 이용하시기를.. --["1002"]
  • JUnit/Ecliipse . . . . 2 matches
         clipse/plugins/org.junit_3.8.1/junit.jar
         Java Beans 형식으로 되어있으므로 메서드에 대한 설명은 하지 않습니다.
  • Java/CapacityIsChangedByDataIO . . . . 2 matches
          int insufficientLen = aLimit - aSrc.length();
          for (int i = 0; i < insufficientLen; i++)
  • Java/SwingCookBook . . . . 2 matches
         Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
          * NetBeans
  • JollyJumpers/이승한 . . . . 2 matches
         const int MAX = 3000;
         const int MAXLine = 10;
  • KnightTour/재니 . . . . 2 matches
          unsigned int m_Move;
         // Construction/Destruction
  • LightMoreLight/허아영 . . . . 2 matches
         If the Number of n's measure is an odd number, an answer is "No"
         else if the Number of n's measure is an even number, an answer is "Yes".
  • Linux/디렉토리용도 . . . . 2 matches
          * reboot, modprobe, insmod 등등의 root 가 시스템을 관리하는데 필요한 명령어들이 존재한다.
         lib 디렉토리에는 컴파일러를 통해서 혹은 만들어진 파일들이 잠조하는 라이브러리들이 존재한다. 또한 하부에 modules 디렉토리에 존재하는 커널 모듈은 특수장치를 설치했거나 제거했을 경우 커널이 자동적으로 모듈을 올리지 못할 경우 insmod, rmmod, modprobe 명령어를 통해서 이런 모듈을 다룰때 이용된다. 커널 모듈의 경우 2.4커널에서는 *.o, 2.6 커널에서는 *.ko의 확장자를 가지고 있다.
  • Linux/필수명령어/용법 . . . . 2 matches
         - cat [ -benstuvETA ] [ 파일명(들) ]
         - tcsh [ -cefinstvxTVX ] [ 파일명 ]
  • LinuxProgramming/QueryDomainname . . . . 2 matches
         request domain name thru ip address from DNS server
         void error_handling(const char* message);
         void error_handling(const char* message)
  • LinuxSystemClass . . . . 2 matches
         개인적으로 교재가 마음에 든다. 단, 제대로 공부할 것이라면 가능한 한 원서를 권한다. 한서의 경우 용어의 혼동문제와, 중간 오역문제가 눈에 띈다. (inexpensive를 expensive 로 정 반대의 뜻으로 해석한) 뭐, 물론 그럼에도 불구하고 아마 사람들은 한서 읽는 속도가 원서 읽는 속도의 3배 이상은 될테니. 알아서 잘.
  • MFC/MessageMap . . . . 2 matches
          virtual BOOL InitInstance();
          // NOTE - the ClassWizard will add and remove member functions here.
         #define NFR_ANSI 1
  • Marbles/문보창 . . . . 2 matches
         const int TYPE1 = 1;
         const int TYPE2 = 2;
  • MobileJavaStudy/SnakeBite/FinalSource . . . . 2 matches
          cellVector.insertElementAt(currentHead, headIndex);
          snakes.insertElementAt(new SnakeCell(((SnakeCell)snakes.elementAt(0)).x,((SnakeCell)snakes.elementAt(0)).y),0);
  • MoinMoinDone . . . . 2 matches
          * Inline code sections (triple-brace open and close on the same line, {{{~cpp like this}}} or {{{~cpp ThisFunctionWhichIsNotaWikiName()}}})
          * Added a means to add meta tags to the page header, like: {{{~cpp
  • MoinMoinNotBugs . . . . 2 matches
         Also worth noting that ''Error: Missing DOCTYPE declaration at start of document'' comes up at the HEAD tag; and ''Error: document type does not allow element "FONT" here'' for a FONT tag that's being used inside a PRE element.
         This is not an Opera bug. The HTML is invalid. '''The blocks are overlapping, when they are not allowed to:''' P UL P /UL UL P /UL is not a sensible code sequence. (It should be P UL /UL P UL /UL P... giddyupgiddyup?)
  • MoniWiki . . . . 2 matches
         MoniWiki is a PHP based WikiEngine. WikiFormattingRules are imported and inspired from the MoinMoin. '''Moni''' is slightly modified sound means '''What ?''' or '''What is it ?''' in Korean and It also shows MoniWiki is nearly compatible with the MoinMoin.
  • MoniWiki/HotKeys . . . . 2 matches
          * MoinMoin:MoinMoinExtensions/Hotkeys
          * [Nsmk:양손항해]
  • MoniWikiACL . . . . 2 matches
         # some POST actions support protected mode using admin password
         # some actions allowed to @ALL
  • MoniWikiOptions . . . . 2 matches
         `'''$iconset'''`
         == Processor Options ==
  • Monocycle/조현태 . . . . 2 matches
         const int MOVE_PLUS_X[4] = {0, 1, 0, -1};
         const int MOVE_PLUS_Y[4] = {-1, 0, 1, 0};
  • NumberBaseballGame/영록 . . . . 2 matches
          unsigned int number1,number2,number3;
          unsigned int a,b,c;
  • ObjectOrientedProgramming . . . . 2 matches
         3. Every object has it's own memory, which consists of other objects.
         4. Every object is an instance of a class. A class groups similar objects.
  • ObjectOrientedReengineeringPatterns . . . . 2 matches
         See Also Xper:ObjectOrientedReengineeringPatterns, Moa:ObjectOrientedReengineeringPatterns , StephaneDucasse
  • OperatingSystemClass . . . . 2 matches
          * 타대학 수업: http://inst.eecs.berkeley.edu/~cs162/ 의 Webcast 에서 동영상 제공(real player 필요)
          * http://cne.gmu.edu/workbenches/pcsem/Semaphore.html - Producer / Consumer Simulation Applet
  • OperatingSystemClass/Exam2002_1 . . . . 2 matches
          System.out.println("Consumer Blocked");
          System.out.println("Consumer UnBlocked");
  • OurMajorLangIsCAndCPlusPlus/Function . . . . 2 matches
         template<> void print<const char *>(const char *a)
  • OurMajorLangIsCAndCPlusPlus/print/이도현 . . . . 2 matches
         void print(const char *, ...);
         void print(const char *arg, ...)
  • OurMajorLangIsCAndCPlusPlus/print/이상규 . . . . 2 matches
         void print(const char *format, ...)
          const char *c = format;
  • PHPStudy2005 . . . . 2 matches
          * [PHPStudy2005/RWAPMInstall]
          * [http://zeropage.org/~namsangboy/wiki/wiki.php/RegularExpressions 정규식]
  • PairProgramming . . . . 2 matches
          * http://www.objectmentor.com/publications/xpepisode.htm - Robert C.Martin 과 Robert S Koss 이 대화하면서 Pair를 하는 예제.
          * http://no-smok.net/nsmk/PairProgramming
  • PairProgramming토론 . . . . 2 matches
         PairProgramming 자체에 대해서는 http://www.pairprogramming.com 를 참조하시고, IEEE Software에 실렸던, 로리 윌리엄스 교수의 글을 읽어보세요 http://www.cs.utah.edu/~lwilliam/Papers/ieeeSoftware.PDF. 다음은 UncleBob과 Rob Koss의 실제 PairProgramming을 기록한 대본입니다. http://www.objectmentor.com/publications/xpepisode.htm
         또한, 모든 분야에 있어 전문가는 존재하지 않습니다. 그렇다고 해서, 자신의 전문 영역만 일을 하면 그 프로젝트는 좌초하기 쉽습니다. (이 말이 이해가 되지 않으면 Pete McBreen의 ''Software Craftsmanship''을 읽어보시길) 그 사람이 빠져나가 버리면 아무도 그 사람의 자리를 매꿔주기가 어렵기 때문입니다. 따라서 PairProgramming을 통해 지식 공유와 팀 빌딩을 합니다. 서로 배우는 것, 이것이 PairProgramming의 핵심입니다. 그런데 "배운다는 것"은 꼭 실력의 불균형 상태에서 상대적으로 "적게 아는 사람" 쪽에서만 발생하는 것이 아닙니다.
  • Parallels . . . . 2 matches
         <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/gE1XQyT_IbA"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/gE1XQyT_IbA" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
  • PokerHands/Celfin . . . . 2 matches
          cout <<"Black wins." <<endl;
          cout <<"White wins." <<endl;
  • PragmaticVersionControlWithCVS/CommonCVSCommands . . . . 2 matches
         total revisions: 3; selected revisions: 3
  • PragmaticVersionControlWithCVS/WhatIsVersionControl . . . . 2 matches
         == Where Do Versions Come In? ==
         == Locking Options ==
  • ProgrammingPearls/Column4 . . . . 2 matches
          * Assertions : 입력, 변수, 출력간의 관계는 프로그램의 상태를 묘사해준다. assertion은 그들의 관계를 정확히 말해준다.
          * Functions : precondition - 함수 시작 전에 보장되어야 할 조건 -과 postcondition - 함수 끝날때에 보장되어야 할 조건 -을 명시해준다.(...) 이러한 방법을 "Programming by contract"라 한다.
  • ProgrammingWithInterface . . . . 2 matches
         출처: [Holub on Patterns] by Allen Holub
         상속을 사용하는 상황을 국한 시켜야 할 것같다. 상위 클래스의 기능을 100%로 사용하면서 추가적인 기능을 필요로 하는 객체가 필요할 때! .. 이런 상황일 때는 상속을 사용해도 후풍이 두렵지 않을 것 같다. GoF의 책이나 다른 DP의 책들은 항상 말한다. 상속 보다는 인터페이스를 통해 다형성을 사용하라고... 그 이유를 이제야 알 것같다. 동감하지 않는가? Base 클래스를 수정할 때마다 하위 클래스를 수정해야 하는 상황이 발생한다면 그건 인터페이스를 통해 다형성을 지원하는게 더 낫다는 신호이다. 객체는 언제나 [[SOLID|SRP (Single Responsiblity Principle)]]을 지켜야 한다고 생각한다.
  • ProjectSemiPhotoshop/요구사항 . . . . 2 matches
          * Iso-intensity Contouring(등명암 윤곽화) ( O 흑백 )
         == Additions - 가상 스토리 ==
  • PythonForStatement . . . . 2 matches
         These represent finite ordered sets indexed by non-negative numbers. The built-in function len() returns the number of items of a sequence. When the length of a sequence is n, the index set contains the numbers 0, 1, ..., n-1. Item i of sequence a is selected by a[i].
  • PythonLanguage . . . . 2 matches
         ~~http://users.python.or.kr:9080/PyKUG/TransProjects/Python20Docs/~~
          * ~~http://board1.hanmir.com/blue/Board.cgi?path=db374&db=gpldoc - johnsonj 님의 파이썬 문서고~~
  • R'sSource . . . . 2 matches
         urldump = commands.getoutput('lynx -width=132 -nolist -dump http://board5.dcinside.com/zb40/zboard.php?id=dc_sell | grep 995')
          console=["rep.py"], # 도스창에서 실행할 파일을 생성할 경우
  • RandomWalk/김아영 . . . . 2 matches
         const int max = 12;
          srand((unsigned)time(NULL));
  • RandomWalk/황재선 . . . . 2 matches
         const int rowMax = 40;
         const int colMax = 20;
  • RedThon . . . . 2 matches
          {{|Many programmes lose sight of the fact that learning a particular system or language is a means of learning something else, not an goal in itself.
         AnswerMe 혹시 [김동경] 이라는 사람의 개인페이지가 RedThon 이기도 한가요? 그럼 이 페이지의 이름을 바꾸어야 할텐데요?--NeoCoin
          * HelloWorld를 PythonShell에서 출력하기
  • Refactoring/RefactoringReuse,andReality . . . . 2 matches
         == Implications Regarding Software Reuse and Technology Transfer ==
  • RegularExpression/2011년스터디 . . . . 2 matches
         answer : <.+?>
         answer : <([^">]+|"[^">]*")+"[^">]*>
  • ReverseAndAdd/신재동 . . . . 2 matches
         ''all tests data will be computable with less than 1000 iterations (additions)''를 고려한다면 명시적인 회수 체크는 없어도 될 듯.
  • Robbery/조현태 . . . . 2 matches
          const int ADD_POINT_X[5] = {0, +1, -1, 0, 0};
          const int ADD_POINT_Y[5] = {0, 0, 0, +1, -1};
  • RubyLanguage/ExceptionHandling . . . . 2 matches
          * [http://enshahar.tistory.com/65 참고]
          * ensure
  • STL/VectorCapacityAndReserve . . . . 2 matches
          unsigned long id;
          U(unsigned long x):id(x){}
  • SeminarHowToProgramIt . . . . 2 matches
          * DesignPatterns -- ["디자인패턴"] 공부 절대로 하지 마라
         ||DesignPatterns ||4 ||
  • ServerBackup . . . . 2 matches
          * 문제 ~ DNS Server 가 죽었음 (or 잘못 설정되어 있음 165.194.35.222 서버 확인 필요) 그래서 주소 기반으로 외부로 ping을 날릴수 없다.
          * 해결 ~ {{{/etc/resolv.conf}}} 에 무료 dns 서버 등록 후 교내 서버는 가장 마지막 순위로 변경 http://theos.in/windows-xp/free-fast-public-dns-server-list/
  • SilentASSERT . . . . 2 matches
         - Insert Test Title
         - Insert Code Line Number
  • SmithNumbers/신재동 . . . . 2 matches
         const int MAX_TEST = 100;
         const int MAX_PRIME_NUMBER = 100000;
  • SystemEngineeringTeam . . . . 2 matches
          * mail account in [:domains.live.com/ Microsoft Live Domains]
  • TCP/IP . . . . 2 matches
         == TCP(Transmission Control Protocol)? UDP(User Datagram Protocol)? ==
          * Richard Stevens와 Douglas Comer의 저작들: 이 쪽에서는 바이블로 통함.
  • TestDrivenDevelopment . . . . 2 matches
         void AssertImpl( bool condition, const char* condStr, int lineNum, const char* fileName)
  • ThePriestMathematician/김상섭 . . . . 2 matches
         unsigned int hanoi[10001] = {0,1,};
          unsigned min, temp;
  • TicTacToe/임민수,하욱주 . . . . 2 matches
         import java.awt.Dimension;
          Dimension size = getSize();
  • TkinterProgramming/HelloWorld . . . . 2 matches
         def print_console():
         p_button = Button(frame, text = "PRINT", command = print_console)
  • ToyProblems . . . . 2 matches
         ToyProblems를 풀면서 접하게 될 패러다임들(아마도): CSP, Generators, Coroutines, Various Forms of Recursion, Functional Programming, OOP, Constraint Programming, State Machine, Event Driven Programming, Metaclass Programming, Code Generation, Data Driven Programming, AOP, Generic Programming, Higher Order Programming, Lazy Evaluation, Declarative Programming, ...
          * Proofs and Refutations (번역판 있음)
  • UDK/2012년스터디 . . . . 2 matches
         http://www.slideshare.net/devcatpublications/ndc2011-8253034
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptFunctionsKR.html 언리얼 마스터하기: 언리얼스크립트 함수]
  • UglyNumbers/곽세환 . . . . 2 matches
          list<unsigned int> numbers;
          unsigned int temp;
  • UnityStudy . . . . 2 matches
          transform.rotation *= Quaternion.AngleAxis(Input.GetAxis("Horizontal") *30.0 * Time.deltaTime, Vector3(0, 0, 1));
          transform.rotation *= Quaternion.AngleAxis(Input.GetAxis("Vertical") *30.0 * Time.deltaTime, Vector3(1, 0, 0));
  • Vending Machine/dooly . . . . 2 matches
          if (itemMap.containsKey(item))
          return !itemMap.containsKey(item);
  • ViImproved/설명서 . . . . 2 matches
         삽 입(insert)
         sections= SHNHH section을 위한 매크로를 적용
  • VisualAssist . . . . 2 matches
         VS6 에서의 그 버그많은 Intelli Sense 기능을 많이! 보완해준다; VS6 에서 지원하지 않는 매크로 인라인 함수 등에 대해서도 Intelli Sense 기능을 지원. Header - Cpp 화일 이동을 단축키로 지원하는 등 편한 기능이 많다.
  • WebLogicSetup . . . . 2 matches
         WEB_LOGIC_ROOT\config\mydomain\applications\DefaultWebApp 디렉토리 내에서 작업하면 된다.
          * WEB_INF 디렉토리 내의 web.xml을 수정해주거나, 브라우저를 통해 weblogic server consol을 이용해서 수정할 수 있다.
  • WeightsAndMeasures/문보창 . . . . 2 matches
         bool turtleGreater(const Turtle& A, const Turtle& B)
  • WikiProjectHistory . . . . 2 matches
         || [DesignPatternStudy2005] || 상협, 재선, 상섭 || 디자인 패턴 스터디 || 종료 ||
         || ["NSIS_Start"] || ["1002"] || 2002.2.1~2.9. NSIS Installer에 대한 사용법 작성 ||종료||
         || ["ZIM"] || ["1002"], ["이덕준"] || ZeroPage Instant Messenger Project || 유보 ||
  • WikiWikiWebFaq . . . . 2 matches
         See Wiki:WikiWikiWebFaq for more questions & answers.
  • XMLStudy_2002/Encoding . . . . 2 matches
          *다국어 지원 웹 컨텐츠 제작시 XML과 Unicode의 결합을 역설한 내용 : [http://www.tgpconsulting.com/articles/xml.htm]
         electronic documents." MultiLingual Communications & Technology. Volume 9, Issue 3
  • XsltVersion . . . . 2 matches
         <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  • ZeroPage . . . . 2 matches
          * 11회 중앙대학교 프로그래밍 경진대회(Programming Championship)
          * 최우수상(1등) : Forensic - [정의정],[권영기],[김희성],[김태진]
  • ZeroPageMagazine . . . . 2 matches
          AnswerMe 답변을 기다립니다. :)
         AnswerMe ZeroPageMagazine은 앞으로도 계속 만들어나갈 것인가요? 일회성 행사에 그친다면 아쉬움도 많이 있겠지만 앞으로도 계속 만들어나갈 것인지 아니면 한번 만들고 끝낼 것인지에 따라 발간형식이 달라질것 같아서요. 예를들어 직접 인쇄를 해서 ZeroPagers, ZeroWikian들에게 나누어줄 것인지, 혹은 위키위키형식으로 만들어나갈 것인지, 혹은 웹페이지, PDF, ... 등등 발간형태가 여러가지가 될 수 있는데 이에 대해서도 생각해 보아야 할것 같습니다 - [임인택]
  • ZeroPageServer/old . . . . 2 matches
         || [http://165.194.17.15/pub/util/WinSCP2.exe WinSCP 2.0 Beta], [http://165.194.17.15/pub/util/WinSCP22.exe WinSCP 2.2]|| ssh1, 2 ftp Client ||
         || ["ZeroPageServer/InstalledTool"] || 설치된 프로그램 ||
          zeropage.org 도메인이 현재 회사 서버에 기생중인데 해당 DNS 서비스가 내려갔습니다. 금년 말에 병특이 끝나는데 그 때 까지 DNS 서버를 옮기는 것에 대해서 고민해 봤으면 좋겠네요. --[Passion]
          DNS서버가 꼭 외부에 있어야 하나요? 그냥 제로페이지서버에 설치해서 사용하면 안되나요? --[곽세환]
          - 상관없을것 같습니다. zeropage 에서 직접 DNS 서버 돌리면 subdomain.domain.org 같은 식으로 서브도메인도 사용할 수 있을것 같구요. - [임인택]
          DNS 는 로컬 컴퓨터에 설치를 할 수 있고 동작은 하겠는데 교내의 어떤 규율(?)상 안되는 걸로 알고 있습니다. 아마도 네트웍 관리자에게 문의를 해봐야 할듯... 전에 비슷한 문제가 있었는데 유야무야 그냥 이대로 흘러온 것 같습니다. 학교 도메인을 갖지 않으면서 교내에서 운영되는 대표적인 서버로 동문서버일텐데... 이 경우는 어떻게 처리하는지 참고해 보는 것이 좋을 것 같군요. --[Passion]
          지금 ZP 서버의 linux가 옛날 버젼이라면 설치된 bind 는 보안 문제가 발생한 것일지도 모르겠습니다. 현재 Solaris가 설치된 회사 서버를 3년간 방치해 두었는데 얼마전에 들어가보니 해커들의 놀이터가 되었더군요. 백도어 및 Rootkit 들이 난무했었다는.... 아마도 문제가 보안 문제가 있었던 OpenSSH 또는 Bind의 문제였던것 같습니다. '''Bind 는 보안에 문제가 없는 최신 버젼으로 업데이트''' 하는 것이 좋겠습니다. 혹시 요즘 서버 관리가 시원찮았다면 [http://www.rkhunter.org/ rkhunter]를 다운 받아서 시스템을 점검보는 것을 추천합니다. --[Passion]
          호스트네임 : ns.zeropage.org
          적용 완료. 이제 DNS 로 홈페이지 접속이 안되는 현상은 없을 듯... --[Passion]
  • ZeroPageServer/set2002_815 . . . . 2 matches
          * [[HTML( <STRIKE> apache install setting </STRIKE> )]] 1.3.26
          * [[HTML( <STRIKE> console 한글 Locale </STRIKE> )]] cp --help
  • ZeroPage성년식/후기 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • ZeroWiki/제안 . . . . 2 matches
          * 구현된 확장 기능이 정말 어마어마하게 많다. http://www.mediawiki.org/wiki/Category:Extensions
  • [Lovely]boy^_^/EnglishGrammer . . . . 2 matches
         = Questions and auxiliary verbs =
          * ["[Lovely]boy^_^/EnglishGrammer/QuestionsAndAuxiliaryVerbs"]
  • crossedladder/곽병학 . . . . 2 matches
          double ans = bsearch(0, min);
          cout<<std::fixed<<ans<<endl;
  • eXtensibleMarkupLanguage . . . . 2 matches
         = eXtensible Markup Language =
         The Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language for creating special-purpose markup languages, capable of describing many different kinds of data. In other words XML is a way of describing data and an XML file can contain the data too, as in a database. It is a simplified subset of Standard Generalized Markup Language (SGML). Its primary purpose is to facilitate the sharing of data across different systems, particularly systems connected via the Internet. Languages based on XML (for example, Geography Markup Language (GML), RDF/XML, RSS, Atom, MathML, XHTML, SVG, and MusicXML) are defined in a formal way, allowing programs to modify and validate documents in these languages without prior knowledge of their form.
  • html5/drag-and-drop . . . . 2 matches
          * DataTransfer 객체를 이용하여 드래그 대상과 드롭 대상 사이에 임의의 데이터를 주고받는다.
          * DataTransfer 객체로부터 데이터를 꺼내어 적절하게 처리하는 부분이다.
  • html5/web-storage . . . . 2 matches
          readonly attribute unsigned long length;
          getter DOMString key(in unsigned long index);
  • pragma . . . . 2 matches
         Each implementation of C and C++ supports some features unique to its host machine or operating system. Some programs, for instance, need to exercise precise control over the memory areas where data is placed or to control the way certain functions receive parameters. The #pragma directives offer a way for each compiler to offer machine- and operating-system-specific features while retaining overall compatibility with the C and C++ languages. Pragmas are machine- or operating-system-specific by definition, and are usually different for every compiler.
  • 개인키,공개키/김태훈,황재선 . . . . 2 matches
         const int KEY = 112;
         const int KEY = 156;
  • 격언 . . . . 2 matches
         [http://no-smok.net/nsmk/_b8_ed_be_f0 명언]
          AnswerMe 노스모크에서 url 디코딩하는게 달라졌는지 InterWiki 매크로를 쓸수가 없네요. 해결책 아시는분? - [임인택]
  • 구구단/Leonardong . . . . 2 matches
          instanceVariableNames: ''
          [Transcript show: gob*pp;cr.
  • 구구단/문원명 . . . . 2 matches
          8 timesRepeat:[[9 timesRepeat: [Transcript show:n*c.Transcript cr.c:=c+1.]].c := 1.n := n +1.].
  • 구구단/이진훈 . . . . 2 matches
          8 timesRepeat: [9 timesRepeat: [Transcript show: a * b; cr. b:= b+1]. a:=a+1. b := 1.].
          [Transcript show:a;show:'*';show:b;show:'=';show: a * b; cr. b:= b+1]. a:=a+1. b := 1.].
  • 구구단/조재화 . . . . 2 matches
          instanceVariableNames: ''
         8 timesRepeat: [9 timesRepeat: [ Transcript show:x*y; cr. y := y + 1. ]. x := x + 1. y := 1 ].
  • 그래픽스세미나/1주차 . . . . 2 matches
         || 강인수 || Upload:OpenGL_Report1_Insu.zip API Ver. ||
         || 강인수 || Upload:GL_Report1_Insu_MFC.zip MFC Ver. ||
  • 기억 . . . . 2 matches
          1. Atkinson-Shiffrin 기억모형
          Upload:Atkinson-Shiffrin기억모형.gif
  • 김준영 . . . . 2 matches
          * '''Blog''' : '''''[http://hanginggardens.pe.kr/ http://hanginggardens.pe.kr]''''' (현재 관리 안함)
  • 김희성/리눅스계정멀티채팅 . . . . 2 matches
          server_addr.sin_port =htons(4000);
          server_addr.sin_port = htons( 4000);
  • 김희성/리눅스계정멀티채팅2차 . . . . 2 matches
          server_addr.sin_port =htons(4000);
          server_addr.sin_port = htons( 4000);
  • 김희성/리눅스멀티채팅 . . . . 2 matches
          server_addr.sin_port =htons(4000);
          server_addr.sin_port = htons( 4000);
  • 논문번역/2012년스터디/서민관 . . . . 2 matches
         (2) 기준선을 고려했을 때의 극값 분산의 평균값 위치(position of the mean value of the intensity distribution)
         우리의 경우에는 absolute discounting 을 이용한 bi-gram언어 모델과 backing-off for smoothing of probability distributions가 적용되었다.
  • 데블스캠프2005/Python . . . . 2 matches
         divmod(x, y) returns (int(x/y), x % y)
         >>> L.insert(1, 50)
  • 데블스캠프2006/SVN . . . . 2 matches
         1. Tortoise install
         Some other functions.
  • 데블스캠프2006/월요일/함수/문제풀이/김준석 . . . . 2 matches
          srand((unsigned)time(0));
          srand((unsigned)time(NULL));
  • 데블스캠프2006/월요일/함수/문제풀이/윤영준 . . . . 2 matches
          srand((unsigned)time(NULL));
          srand(unsigned(time(NULL)));
  • 데블스캠프2006/월요일/함수/문제풀이/이장길 . . . . 2 matches
          srand((unsigned)time(NULL));
          srand((unsigned)time(NULL));
  • 데블스캠프2009/목요일/연습문제/MFC/서민관 . . . . 2 matches
         void CTestMFCDlg::OnSysCommand(UINT nID, LPARAM lParam)
          CDialog::OnSysCommand(nID, lParam);
         // to draw the icon. For MFC applications using the document/view model,
         void CTestMFC2Dlg::OnSysCommand(UINT nID, LPARAM lParam)
          CDialog::OnSysCommand(nID, lParam);
         // to draw the icon. For MFC applications using the document/view model,
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/정의정,김태진 . . . . 2 matches
          public static final int GUARDS_RESPONSE = 3;
          public void transformer() {
          assertEquals(elevator.GUARDS_RESPONSE, elevator.status());
          elevator.transformer(); // 알아서
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/송지원 . . . . 2 matches
          while(st.hasMoreTokens()){
          while(st.hasMoreTokens()){
  • 데블스캠프2011/셋째날/String만들기 . . . . 2 matches
         || contains || str.contains("bcd") == TRUE ||
  • 데블스캠프2013/셋째날/후기 . . . . 2 matches
          * net beans를 써봐서 인지 window 빌더에 그다지 거부감은 없던것같습니다. 다만, 이클립스내에서 사용할 수 있다는 점에서 좋은것같습니다. 이때까지 net beans랑 이클립스를 혼용해서 사용해왔었는데 좋은 플러그인을 직접적으로 알게되어서 좋았습니다.(window 빌더의 존재는 알았지만 사용해보기에 너무 귀찮아서 이때까지 사용할 기회를 못가졌었는데 가지게 되서 좋았습니다.) -[김윤환]
  • 마름모출력/김정현 . . . . 2 matches
          l.insert(n," ")
          l.insert(b-1,a)
  • 만세삼창VS디아더스1차전 . . . . 2 matches
          인수는 객체다 instance
          머의 instance인데
  • 몸짱프로젝트/HanoiProblem . . . . 2 matches
         void hanoi(const int n, int x, int y, int z);
         void hanoi(const int n, int x, int y, int z)
  • 몸짱프로젝트/InfixToPostfix . . . . 2 matches
         const int LEN = 4;
         const int MAX = 10;
  • 몸짱프로젝트/InfixToPrefix . . . . 2 matches
          self.list.insert(-1, aOperator)
          self.list.insert(0, aOperator)
  • 무엇을공부할것인가 . . . . 2 matches
         SeparationOfConcerns로 유명한 데이비드 파르나스(David L. Parnas)는 FocusOnFundamentals를 말합니다. (see also ["컴퓨터고전스터디"]) 최근 작고한 다익스트라(NoSmok:EdsgerDijkstra )는 수학과 언어적 능력을 말합니다. ''Besides a mathematical inclination, an exceptionally good mastery of one's native tongue is the most vital asset of a competent programmer. -- NoSmok:EdsgerDijkstra '' 참고로 다익스트라는 자기 밑에 학생을 받을 때에 전산학 전공자보다 수학 전공자에게 더 믿음이 간다고 합니다.
         job descriptions most of the time. But software development isn't that much
  • 문자반대출력/조현태 . . . . 2 matches
         const bool TRUE=1;
         const bool FALSE=0;
  • 미로찾기/곽세환 . . . . 2 matches
         const int Max_x = 30;
         const int Max_y = 20;
  • 미로찾기/정수민 . . . . 2 matches
         const int miro[13][17]={
         const int miro[13][17]={
  • 박성현 . . . . 2 matches
          1. INS ( Image Network Service ) - ( 2010년 )
          * [QuestionsAboutMultiProcessAndThread] - O/S 공부 중 Multi-Process와 Multi-Thread 개념이 헷갈려서 올린 질문...
          * [http://wiki.kldp.org/wiki.php/DocbookSgml/Ask-TRANS How To Ask Questions The Smart Way]
  • 반복문자열/허아영 . . . . 2 matches
         void printMessages(const char* message, int messageLength);
         void printMessages(const char* message, int messageLength)
  • 빵페이지/도형그리기 . . . . 2 matches
         const char star = '*';
         const char space = ' ';
  • 새싹교실/2011 . . . . 2 matches
          constant/variable->variable: 논리회로와 연관시키면 은근히 편함
          multi-dimension array||
  • 새싹교실/2011/AmazingC . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/무전취식/레벨1 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/무전취식/레벨10 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/무전취식/레벨11 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/무전취식/레벨4 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/무전취식/레벨5 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/무전취식/레벨6 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/무전취식/레벨7 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/무전취식/레벨8 . . . . 2 matches
         Kang WonSeok
         1 Kang WonSeok
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/무전취식/레벨9 . . . . 2 matches
         void selectionSort(int A[], int size);
          selectionSort(a,N);
         void selectionSort(int A[], int size)
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.3.15 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.3.23 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.3.29 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.4.6 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.5.17 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.5.3 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/씨언어발전 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/사과나무 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/아우토반/뒷반/3.23 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/아우토반/뒷반/3.30 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/아우토반/뒷반/4.13 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/아우토반/뒷반/4.6 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/아우토반/뒷반/5.11 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/아우토반/앞반/3.22 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/아우토반/앞반/3.29 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/아우토반/앞반/4.19 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/아우토반/앞반/4.5 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/아우토반/앞반/5.17 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/주먹밥 . . . . 2 matches
          unsigned int y;
          -> Opensource 뒤지기 프로젝트
  • 새싹교실/2012/주먹밥/이소라때리기게임 . . . . 2 matches
         const SELECT menu[SKILLSIZE] ={
         const CLASS classList[CLASSSIZE]= {
  • 새싹교실/2013/라이히스아우토반/3회차 . . . . 2 matches
          int ans;
          scanf("%d",&ans);
  • 세벌식 . . . . 2 matches
         이때문에 두벌식 키보드를 사용할때 도깨비불 현상이 발생한다. 간단하게 설명하자면 두벌식 키보드로 한글을 치다가 전혀 의도하지 않았던 글자가 나타났다가 사라지는 현상이다. [http://no-smok.net/nsmk/%EB%8F%84%EA%B9%A8%EB%B9%84%EB%B6%88%ED%98%84%EC%83%81 여기]를 보면 더 자세히 알 수 있다.
         세벌식 자판배열의 장점은 한글의 구조와 맞는다는 점외에 여러가지가 있다. [http://no-smok.net/nsmk/%EC%84%B8%EB%B2%8C%EC%8B%9D 이곳]을 참조.
  • 손동일 . . . . 2 matches
         const int Max = 11 ;
         const int MAX = 11;
  • 손동일/TelephoneBook . . . . 2 matches
         const char *filename = "text.txt";
         const int base_save = 4; // 처음 기본으로 저장되어있는 전화번호 숫자.
  • 스네이크바이트/C++ . . . . 2 matches
          const int numberOfStudent = 10;//학생 수
          student("LeeChunSoo", 958, 100, 40, 19),
          const int b = 10;
  • 알고리즘2주숙제 . . . . 2 matches
         1. (Warm up) An eccentric collector of 2 x n domino tilings pays $4 for each vertical domino and $1 for each horizontal domino. How many tiling are worth exactly $m by this criterion? For example, when m = 6 there are three solutions.
         7. Let a<sub>r</sub> be the number of ways r cents worth of postage can be placed on a letter using only 5c, 12c, and 25c stamps. The positions of the stamps on the letter do not matter.
  • 알고리즘3주숙제 . . . . 2 matches
         Consider the following problem: one has a directory containing a set of names and a telephone number associated with each name.
         The directory is sorted by alphabetical order of names. It contains n entries which are stored in 2 arrays:
  • 위시리스트/130511 . . . . 2 matches
          * Mastering MATLAB, (저자: Duane Hanselman) -[김태진]
          * SECURITY 네트워크 패킷 포렌식 : Network Packet Forensic - [김민재]
  • 위키설명회 . . . . 2 matches
          * 도우미 : AnswerMe 적어주세요.
          * AnswerMe 이미 종료되었지만, 설명회를 풍족하게 만들어줄 아이디어를 더 적어 주세요.
  • 이승한/mysql . . . . 2 matches
          레코드 삽입 : insert into table (colums...) values (data...);
          $query = "insert into score (name, eng, math) values ('$name', '$eng', '$math')";
  • 이영호/미니프로젝트#1 . . . . 2 matches
         1. Client Console에 메세지를 입력하면 IRC Server로 문자열을 전송한다. -> Main Process
          ina.sin_port = htons(atoi(info.port));
  • 이영호/숫자를한글로바꾸기 . . . . 2 matches
         성공시 const char * 리턴
         const char *change(int num)
  • 인수/Smalltalk . . . . 2 matches
          Transcript cr; show: a; show: ' * '; show: b; show: ' = '; show: a*b; printString.
          Transcript cr.
  • 임민수 . . . . 2 matches
          * E-Mail : lminsu84 at hotmail.com
          * MSN : lminsu84 at hotmail.com
  • 임인택 . . . . 2 matches
         [http://www.sporadicnonsense.com/files/FileZilla_ss.jpg]
  • 임인택/Link . . . . 2 matches
          * [http://www.itconversations.com/ ITConversations]
  • 정렬/Leonardong . . . . 2 matches
         const int Asize=10000;
          ifstream fin("unsortedData.txt"); //파일 이름이...삽질 1탄~!
  • 정렬/곽세환 . . . . 2 matches
         const int size = 10000;
          ifstream fin("unsorteddata.txt");
  • 정렬/문원명 . . . . 2 matches
          ifstream fin("UnsortedData.txt");
          unsigned long i=0,m=0,n,k=0;
  • 정렬/방선희 . . . . 2 matches
         const int Max = 10000;
          ifstream fin("UnsortedData.txt");
  • 정렬/조재화 . . . . 2 matches
         const int Arsize=10000;
          ifstream fin("UnsortedData.txt"); //txt파일에 저장된 것을 부름
  • 정모/2011.3.14 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 정모/2011.3.2 . . . . 2 matches
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 정모/2011.4.4/CodeRace/김수경 . . . . 2 matches
          * [:NetBeans 넷빈즈]가 이상해서 또 한시간을 더 날렸다... 피곤하니 자러가야지.
          * [김수경/LaytonReturns]
  • 정모/2011.5.16 . . . . 2 matches
          * [Design Patterns/2011년스터디]
          * [http://nforge.zeropage.org/projects/mymensingh/]
  • 정모/2011.5.2 . . . . 2 matches
          * 지난 시간에는 2장의 중간부분 까지 읽고 이야기를 나누었다. 구체 클래스의 externs가 좋지 않다는 이야기뿐이어서 답답했다. 저자의 예시인 Java의 swing도 직접 써본적이 없어 와닿지 않았다. 어려운 주제였던 것 같다.
          * Road to IT Professions
  • 정모/2011.7.25 . . . . 2 matches
          * [DesignPatterns/2011년스터디]
          * The Simpsons 1시즌 1화 대사 따라하기 (Marge, Homer의 대화 40초)
  • 제12회 한국자바개발자 컨퍼런스 후기 . . . . 2 matches
         || 15:00 ~ 15:50 || 스타트업을위한 Rapid Development (양수열) || 하둡 기반의 규모 확장성있는 트래픽 분석도구 (이연희) || 초보자를 위한 분산 캐시 활용 전략 (강대명) || Venture Capital & Start-up Investment (이종훈-벤처캐피탈협회) || How to deal with eXtream Applications? (최홍식) || SW 융합의 메카 인천에서 놀자! || 섹시한 개발자 되기 2.0 beta (자바카페 커뮤니티) ||
          마지막으로 Track 4에서 한 반복적인 작업이 싫은 안드로이드 개발자에게라는 것을 들었는데, 안드로이드 프로그래밍이라는 책의 저자인 사람이 안드로이드 개발에 관한 팁이라고 생각하면 될 만한 이야기를 빠르게 진행하였다. UI 매핑이라던지 파라미터 처리라던지 이러한 부분을 RoboGuice나 AndroidAnnotations를 이용해 해결할 수 있는 것을 설명과 동영상으로 잘 설명했다. 준비를 엄청나게 한 모습이 보였다. 이 부분에 대해서는 이 분 블로그인 [http://blog.softwaregeeks.org/ 클릭!] <-여기서 확인해 보시길...
  • 조금더빠른형변환사용 . . . . 2 matches
         static unsigned int get_clock()
          unsigned int t;
  • 졸업논문/요약본 . . . . 2 matches
         Web environment has became a standalone platform. Object-oriented languages, such as python, are suitable for web. Django is a web application framework written by python, and helps web developers writting web application more agile by abstracting database. Django provides high level abstraction on database, higher than CLI which uses ODBC. Django, for instance, creates database tables when developer writes classes in python, and modifies tables when developer modifies classes in python. In addition, django helps developers using database on host-language(python) level by abstracting insertion, deletion, update, retrieving of recodes to class method. Therefore, web developers make programs more agile.
  • 중위수구하기/조현태 . . . . 2 matches
         const int MAX_NUMBER=3;
         const int BREAK_NUMBER=-999;
  • 지금그때/OpeningQuestion . . . . 2 matches
         AnswerMe 약간 모호 무슨 탈출구일까요?
          * SixSigma나 LeanProduct(?), 둘을 합한 LeanSigmaSix를 시간관리에도 적용해 볼 수 있다.
         잡지 경우, ItMagazine에 소개된 잡지들 중 특히 CommunicationsOfAcm, SoftwareDevelopmentMagazine, IeeeSoftware. 국내 잡지는 그다지 추천하지 않음. 대신 어떤 기사들이 실리는지는 항상 눈여겨 볼 것. --JuNe
  • 최연웅 . . . . 2 matches
          * 이메일 : yonsweng@gmail.com, yonsweng@cau.ac.kr
  • 코드레이스/2007.03.24정현영동원희 . . . . 2 matches
          public void insertCrosser(Time[] times ) {
          signal.insertCrosser(times2);
  • 큰수찾아저장하기/조현태 . . . . 2 matches
         const int MAX_GARO=4;
         const int MAX_SAERO=4;
  • 토이/숫자뒤집기/김정현 . . . . 2 matches
         9. Collections 클래스를 이용
          Collections.reverse(list);
  • 통계청 . . . . 2 matches
         통계청은 http://www.nso.go.kr 이고
         [http://kosis.nso.go.kr/cgi-bin/sws_999.cgi?ID=DT_1WB41&IDTYPE=3 총독서량]
  • 튜터링/2013/Assembly . . . . 2 matches
          1. Instruction Execution Cycle을 도식하고, 설명하세요.
          1. Directive와 instruction의 차이점에 대해 설명하시오.
  • 파스칼삼각형/김수경 . . . . 2 matches
          if not isinstance(element, int):
          if not isinstance(n, int):
  • 파이썬으로익스플로어제어 . . . . 2 matches
         다음 win 32 extension 라이브러리를 설치하신뒤, 인터프리터 쉘에서 입력해보세요.~
          * ie의 type이 instance라고 나오는데, ie가 사용할 수 있는 메소드(맞나요?)에 대한 설명이 있는 문서가 어디 있나요? 어제 보여주신 id, pw를 입력폼에 넣는 메소드 및 사용법을 알고 싶어요. -- 재선
  • 포항공대전산대학원ReadigList . . . . 2 matches
         “Data Structures and Algorithms in C++”, Mitchael T. Goodrich et al., John Wiley & Sons, 2004.
         “Operating System Concepts: 6th Edition”, Silberschatz, Galvin, and Gagne John Wiley & Sons, 2004.
  • 프로그램내에서의주석 . . . . 2 matches
         이번기회에 comment, document, source code 에 대해서 제대로 생각해볼 수 있을듯 (프로그램을 어떻게 분석할 것인가 라던지 Reverse Engineering Tool들을 이용하는 방법을 궁리한다던지 등등) 그리고 후배들과의 코드에 대한 대화는 익숙한 comment 로 대화하는게 낫겠다. DesignPatterns 가 한서도 나온다고 하며 또하나의 기술장벽이 내려간다고 하더라도, 접해보지 않은 사람에겐 또하나의 외국어일것이니. 그리고 영어가 모국어가 아닌 이상. 뭐. (암튼 오늘 내일 되는대로 Documentation 마저 남기겠음. 글쓰는 도중 치열하게 Documentation을 진행하지도 않은 사람이 말만 앞섰다란 생각이 그치질 않는지라. 물론 작업중 Doc 이 아닌 작업 후 Doc 라는 점에서 점수 깎인다는 점은 인지중;) --석천
         // Constraint
  • 황현/Objective-P . . . . 2 matches
         @interface MyFirstObjPClass : GNObject <GNSomeProtocol>
         // some magic happens...
         GNAssert()의 경우, 두 번째 인자로 @"문자열"을 받지만, 결과적으로는 컴파일 이후 GNString으로 변해야 한다.
         class MyFirstObjPClass extends GNObject implements GNSomeProtocol {
         GNAssert(false, new GNString('뭔가 이상하지 않아?'));
         // some magic happens...
  • 05학번만의C++Study/숙제제출4/조현태 . . . . 1 match
         const int MAX_CLASS=255;
  • 06 SVN . . . . 1 match
         1. Tortoise install
  • 0PlayerProject . . . . 1 match
         Upload:SourceInsight3_1.zip
  • 1002/TPOCP . . . . 1 match
         Variations in the programming task
  • 2002년도ACM문제샘플풀이/문제C . . . . 1 match
          Means Ends Analysis라고 하는데 일반적인 문제 해결 기법 중 하나다. 하노이 탑 문제가 전형적인 예로 사용되지. 인지심리학 개론 서적을 찾아보면 잘 나와있다. 1975년도에 튜링상을 받은 앨런 뉴엘과 허버트 사이먼(''The Sciences of the Artificial''의 저자)이 정립했지. --JuNe
  • 2005Fall수업 . . . . 1 match
         [http://inst.eecs.berkeley.edu/~cs61c 버클리 강의 페이지. ppt 보기]
  • 2006김창준선배창의세미나 . . . . 1 match
          * Universal Patterns - General Coceptual Framework : 주역(Reflective ,,), 음양 오행, 사상
  • 2010JavaScript/역전재판 . . . . 1 match
         background-color : transparent;
  • 2010php/방명록만들기 . . . . 1 match
         $sql = "INSERT INTO guest
         $query = "insert into guest (name, pw, status, contents, date) values ('$posted_name', '$posted_pw', '$posted_status', '$posted_context', '$date')";
  • 2학기자바스터디/운세게임 . . . . 1 match
          Calendar now = Calendar.getInstance(); // 새로운 객체를 생성하지않고 시스템으로부터 인스턴스를 얻음
  • 3DGraphicsFoundation/MathLibraryTemplateExample . . . . 1 match
         void matrixTranslate (matrix_t m, vec3_t a);
  • 3DGraphicsFoundationSummary . . . . 1 match
         === Explicit Polygons Mesh ===
          ,texRec[i]->sizeY, 0, GL_RGB, GL_UNSIGNED_BYTE,texRec[i]->data);
  • 3DStudy_2002 . . . . 1 match
         * ["MatrixAndQuaternionsFaq"] : 메트릭스와 쿼터니언,.. 수학적 기반 - 퍼온글
  • 3D업종 . . . . 1 match
         vc6이나 2003을 쓸 경우, 비슷한 경로에 glut를 복사하고, 프로젝트를 만들때 win32 console로 해서 링커 옵션에 opengl32.lib glu32.lib glut32.lib 파일을 추가합니다.'''
  • 3D프로그래밍시작하기 . . . . 1 match
          * 최근에는 rasterinzing (transform, lighiting 이 끝나고 난후 화면 주사선에 맞추어서 찍어주는 부분.. 일꺼에여)이외에 trasform과 lighiting도 가속기로 처리할 수 있다고 합니다.
  • 3N+1Problem . . . . 1 match
         CS에서 등장하는 문제의 종류는 여러가지가 있는데 (예를 들어, NP, Unsolvable, Recursive...) 이 문제는 '입력에 대해 출력이 어떻게 나올지 모르는' 이라고 분류할만한 것에 대한 분석을 하는 것이다. (해석이 애매하군요; )
  • 3n+1Problem/김태진 . . . . 1 match
          unsigned int a=0;
  • 5인용C++스터디/API에서MFC로 . . . . 1 match
         // Generated message map functions
  • 8queen/곽세환 . . . . 1 match
         const int Max = 8;
  • AKnight'sJourney . . . . 1 match
         ||Total Submissions||15350||Accepted||5124||
  • APlusProject . . . . 1 match
         ExtremeProgrammingInstallled - XP 입문서. 한서 있음. PL 필독.
  • APlusProject/ENG . . . . 1 match
         === mdb 파일에 insert 쿼리시 에러 해결 ===
  • AcceleratedC++ . . . . 1 match
          || ["AcceleratedC++/Chapter8"] || Writing generic functions || 4주차 ||
  • AcceleratedC++/Chapter16 . . . . 1 match
         == 16.1 Use the abstractions you have ==
  • AirSpeedTemplateLibrary . . . . 1 match
         http://airspeed.pythonconsulting.com/wiki
  • AnEasyProblem/강소현 . . . . 1 match
          * Wrong answer
  • AnswerMe . . . . 1 match
         질문 있어요! 질문있는 곳에 해당 태그를 남기면, 추후 이 페이지에 질문있는 페이지들 리스트가 뜬다. 대답을 할수 있는 사람은 대답을 하고, AnswerMe 테그를 삭제하면 된다.
  • ApplicationProgrammingInterface . . . . 1 match
         {{|An application programming interface (API) is a set of definitions of the ways one piece of computer software communicates with another. It is a method of achieving abstraction, usually (but not necessarily) between lower-level and higher-level software.|}}
  • Athena . . . . 1 match
          * 5.8 Iso-intensity Contouring
  • AudioFormatSummary . . . . 1 match
         || Format Name || License || Contributor (Vendor) || 특징 ||
  • Basic알고리즘/팰린드롬/조현태 . . . . 1 match
          for (register unsigned int i = 0; i < strSize / 2; ++i)
  • Benghun/Diary . . . . 1 match
         table에 대한 query가 여러 곳에 분산되어 있었다. table이 변경되자 모든 코드를 살펴야 했었다. 이 문제를 해결하기 위해 테이블에 접근하는 클래스와 쿼리를 실행하는 클래스를 추가했다. Java 웹 애플리케이션 프레임웍 분석과 설계의 노하우, Applying UML and Patterns, 마소 2003/7 고전을 찾아서4 모듈화와 정보은닉의 상관관계가 도움을 줬다.
  • BlogLines . . . . 1 match
         [1002] 의 경우는 FireFox + Bloglines 조합을 즐겨쓴다. (이전에는 FireFox + Sage 조합) 좋은 점으로는, 쓰는 패턴은, 마음에 드는 피드들이 있으면 일단 주욱 탭으로 열어놓은뒤, 나중에 탭들만 주욱 본다. 그리고, 자주 쓰진 않지만, Recommendations 기능과 Subscribe Bookmarklet, feed 공유 기능. 그리고, 위의 기능들을 다 무시함에도 불구하고 기본적으로 쓸모있는것 : 웹(서버사이드)라는 점. 다른 컴퓨터에서 작업할때 피드 리스트 싱크해야 하거나 할 필요가 없다는 것은 큰 장점이라 생각. --[1002]
  • C 로배우는패턴의이해와활용 . . . . 1 match
          * 참 좋은 책 같다. 그냥 말로만 들으면 이해도 안가고 어렵게 느껴질 디자인 패턴을 적절하고 멋진 소스와 함께 보여줘서 한층 더 이해를 돕는다. 이책을 DesignPatternsJavaWorkBook 과 같이 보면 정말 괜찮은거 같다.
  • C++ . . . . 1 match
         Bell Labs' Bjarne Stroustrup developed C++ (originally named "C with Classes") during the 1980s as an enhancement to the C programming language. Enhancements started with the addition of classes, followed by, among many features, virtual functions, operator overloading, multiple inheritance, templates, and exception handling. The C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998, the current version of which is the 2003 version, ISO/IEC 14882:2003. New version of the standard (known informally as C++0x) is being developed.
  • CPPStudy_2005_1/질문 . . . . 1 match
         '''Answer.'''
  • CSS . . . . 1 match
         [NoSmok:CSS] == [http://no-smok.net/nsmk/CSS NoSmok:CSS]
  • CalendarMacro . . . . 1 match
         == '''blog''' and '''archive''' options ==
  • CanvasBreaker . . . . 1 match
          * Clipping ,Iso-intensity, Range-Highlighting, Solarize - 40분
  • ChainsawMassacre . . . . 1 match
         === About [ChainsawMassacre] ===
  • Classes . . . . 1 match
          * Final Demonstration is 5 Jun.
  • CommonPermutation/문보창 . . . . 1 match
         const int MAX = 1000;
  • ComputerGraphicsClass/Exam2004_1 . . . . 1 match
         3D Graphic Pipeline 을 그리고 각 부분의 transformation 에 대해 설명하시오
  • ComputerNetworkClass/Exam2006_2 . . . . 1 match
         TCP의 흐름제어 부분은 워낙에 중요하다고 설명했기 때문에 SLOWSTART, FAST RETRANSMIT, VEGAS 에 대한 이해를 해야했을듯.
          FR이용시 그래프의 변화 추이와 그 이유를 설명. 중복 ACK 전송에 대한 이야기와 VEGAS에서 이요하는 faster retransmit 설명했음.
  • ConcreteMathematics . . . . 1 match
         1. Look at small cases. This gives us insight into the problem and helps us in stages 2 and 3.
  • ContestScoreBoard/신재동 . . . . 1 match
         const int MAX_TEAM = 100;
  • ContestScoreBoard/조현태 . . . . 1 match
         const int WRONG_TIME=20;
  • Counting/김상섭 . . . . 1 match
         unsigned int n[1001] = {1,2,5,};
  • Cracking/ReverseEngineering/개발자/Software/ . . . . 1 match
         Jeffrey Richter의 Programming Applications for Microsoft Windows란 책을 추천한다. 현재 4th edition까지 나온 상태이다. 물론 한글판은 없다.
  • CryptographicAlgorithms . . . . 1 match
          * Cryptographic Hash Functions
  • CubicSpline/1002/NaCurves.py . . . . 1 match
          tempY.insert(0, [0.0])
  • CuttingSticks/문보창 . . . . 1 match
         static int lenStick, numCut;
          cin >> lenStick;
          if (lenStick == 0)
          cut[0] = 0, cut[numCut+1] = lenStick;
          return d[0][numCut+1] - lenStick;
         void show(const int result)
  • CxImage 사용 . . . . 1 match
         App Class 에서 InitInstance() 의 아래부분 주석 처리
  • DataCommunicationSummaryProject/Chapter4 . . . . 1 match
         == GSM(Global System for Mobile Communications) ==
         DataCommunicationSummaryProject
  • DataCommunicationSummaryProject/Chapter5 . . . . 1 match
          * Messaging(패킷) : e-mail과 합쳐진, Extension of paging(뭘까)->(뭐긴 삐삐가 이메일도 가능하다는거지.ㅋㅋ). 지불과 전자 티켓팅
         ["DataCommunicationSummaryProject"]
  • DataStructure . . . . 1 match
          * [http://www.inf.fh-flensburg.de/lang/algorithmen/sortieren/ 소팅잘나온사이트]
  • DataStructure/List . . . . 1 match
          public void insertNode(int ndata,int nSequence)
          for(int i=0;i<nSequence;i++)
          public boolean deleteNode(int nSequence)
          if(nNumber<nSequence)
          for(int i=0;i<nSequence-1;i++)
  • DataStructure/Tree . . . . 1 match
         = Insert x =
  • Data전송 . . . . 1 match
         JSP (Request, Response)
  • Debugging . . . . 1 match
          * [http://korean.joelonsoftware.com/Articles/PainlessBugTracking.html 조엘아저씨의 손쉬운 버그 추적법]
  • Debugging/Seminar_2005 . . . . 1 match
          * fully implemented and fully debugged, before the developer(s) responsible for that feature move on to the next feature -> debugging The development Process
  • DelegationPattern . . . . 1 match
         ["ResponsibilityDrivenDesign"] , ["Refactoring"], ["DelegationPattern"] 을 꾸준히 지켜주면 좋은 코드가 나올 수 있다. (["DesignPattern"] 이 유도되어짐)
  • DesignPatternSmalltalkCompanion . . . . 1 match
         다음과 같은 이유에서 DesignPatterns (이하 GoF)를 먼저보고 보거나 같이 보는 것을 추천한다.
  • DesignPatterns/2011년스터디/서지혜 . . . . 1 match
         Design Patterns를 공부중인 [서지혜]가 만들었다.
  • DesignPatternsJavaWorkBook . . . . 1 match
         = DesignPatternsJavaWorkBook =
  • DesigningObjectOrientedSoftware . . . . 1 match
         Object 의 ClassResponsibiltyCollaboration 에 대한 개념이 잘 설명되어있는 책.
  • DevCpp . . . . 1 match
         설치법 - [DevCppInstallationGuide]
  • DirectDraw/DDUtil . . . . 1 match
         CreatePaletteFromBitmap( LPDIRECTDRAWPALETTE *ppPalette, const TCHAR *strBMP)
  • Downshifting . . . . 1 match
         ''다운 시프트Downshift''
  • DrawMacro . . . . 1 match
         http://twiki.org/p/pub/Plugins/TWikiDrawPluginDev/TWikiDrawPlugin.zip
  • Eclipse/PluginUrls . . . . 1 match
          * [http://www-128.ibm.com/developerworks/opensource/library/os-debug 디버거]
  • Eclipse와 JSP . . . . 1 match
         톰켓 플러그인을 Eclipse의 Plugins 폴더 안에 복사
  • EffectiveSTL . . . . 1 match
          === 6. Functors, Functor Classes, Functions, etc. ===
  • EightQueenProblem/강인수 . . . . 1 match
         const int N = 8;
  • EightQueenProblem/임인택/java . . . . 1 match
          System.out.println("ex) java Queen NumofQueens");
  • EightQueenProblem/정수민 . . . . 1 match
          srand((unsigned)time(NULL));
  • EightQueenProblemSecondTry . . . . 1 match
         이번에는 소스코드를 모두 삭제하고, 맨땅에서 다시 시작을 합니다. EightQueenProblem을 만족하는(즉 하나의 해법만 얻는) 프로그램을 다시 한번 작성합니다. 자신이 처음 EightQueenProblem을 풀면서 얻었던 통찰(insight)만을 이용하고, 가능하면 더 깔끔한 해답을 얻으려고 노력하면서 말이죠.
  • Emacs . . . . 1 match
          * 해당 패키지 줄에서 i(install)로 설치할 패키지의 선택, d(delete)로 지울 패키지 선택, x(execute)로 선택된 작업들 실행.
  • EnglishSpeaking/TheSimpsons . . . . 1 match
         [[pagelist(^EnglishSpeaking/TheSimpsons/S01)]]
  • EnglishWritingClass/Exam2006_1 . . . . 1 match
         Freewriting, Clustering, Brainstorming, Planning
  • EnterpriseJavaBeans . . . . 1 match
         Java 의 분산컴포넌트 모델. RMI 의 개념 + Transaction + @
  • ErdosNumbers . . . . 1 match
         Jablonski, T., Hsueh, Z.: Selfstabilizing data structures
  • ErdosNumbers/임인택 . . . . 1 match
          self.assertEqual(True, allNames.has_key('Jablonski, T.'))
  • Erlang/설치 . . . . 1 match
          >>> apt-get install erlang
  • EuclidProblem/곽세환 . . . . 1 match
          int minsum = INT_MAX - 1;
  • ExtremeProgrammingExplained . . . . 1 match
         [책분류] [ExtremeProgramming] [ExtremeProgrammingInstalled] [ExtremeProgrammingExplained2/E]
  • FOURGODS/김태진 . . . . 1 match
         int main(int argc, const char * argv[])
  • FromCopyAndPasteToDotNET . . . . 1 match
         === Question & Answer ===
  • FromDuskTillDawn/변형진 . . . . 1 match
          function __construct()
          $ln = explode("\n", "2\n3\nUlm Muenchen 17 2\nUlm Muenchen 19 12\nUlm Muenchen 5 2\nUlm Muenchen\n11\nLugoj Sibiu 12 6\nLugoj Sibiu 18 6\nLugoj Sibiu 24 5\nLugoj Medias 22 8\nLugoj Medias 18 3\nLugoj Reghin 17 4\nSibiu Reghin 19 6\nSibiu Medias 20 3\nReghin Medias 20 4\nReghin Bacau 24 6\nMedias Bacau 4 6\nLugoj Bacau");
  • Functor . . . . 1 match
         A function object, often called a functor, is a computer programming construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax. The exact meaning may vary among programming languages. A functor used in this manner in computing bears little relation to the term functor as used in the mathematical field of category theory.
  • GridComputing . . . . 1 match
          * [http://gridcafe.web.cern.ch/gridcafe/animations.html Flash를 이용한 쉬운 그리드 설명]
  • Hacking . . . . 1 match
          * [http://www.insecure.org/nmap/] - port scan 외에도 OS의 정보를 알 수 있음.
  • HardcoreCppStudy/두번째숙제/CharacteristicOfOOP/변준원 . . . . 1 match
         클래스 중에는 인스턴스(instance)를 만들어 낼 목적이 아니라 subclass들의 공통된 특성을 추출하여 묘사하기 위한 클래스가 있는데, 이를 추상 클래스(Abstract class, Virtual class)라 한다. 변수들을 정의하고 함수중 일부는 완전히 구현하지 않고, Signature만을 정의한 것들이 있다. 이들을 추상 함수(Abstract function)라 부르며, 이들은 후에 subclass를 정의할 때에 그 클래스의 목적에 맞게 완전히 구현된다. 이 때 추상 클래스의 한 subclass가 상속받은 모든 추상 함수들을 완전히 구현했을 때, 이를 완전 클래스(Concrete class)라고 부른다. 이 완전 클래스는 인스턴스를 만들어 낼 수 있다.
  • HardcoreCppStudy/두번째숙제/ConstructorAndDestructor/김아영 . . . . 1 match
         - 생성자(Constructor) 클래스 이름과 같은 이름을 지닌 함수
  • HardcoreCppStudy/첫숙제/Overloading/김아영 . . . . 1 match
         const int MAX = 20;
  • HaskellExercises/Wikibook . . . . 1 match
         scanSum :: [Int] -> [Int]
         scanSum [i] = [i]
         scanSum (i1:i2:ints) = i1:scanSum (i1+i2:ints)
         = More on Functions =
  • HelpContents . . . . 1 match
          * HelpOnActions - 각 페이지에 대한 여러가지 조작 및 변형법
  • HelpOnActions . . . . 1 match
         모니위키의 모든 액션은 MoniWikiActions 페이지를 통해 보실 수 있습니다.
  • HelpOnCvsInstallation . . . . 1 match
         이후의 설치방법은 HelpOnInstallation 페이지를 참고하세요.
  • HelpOnInstalling . . . . 1 match
         See ["MoniWiki/Installation"]
          귀찮아서 INSTALL파일에 여기를 향하는 링크를 달랑 넣었습니다. :p
  • HelpOnMacros . . . . 1 match
         $myplugins=array("각주"=>"FootNote",...); # ...는 생략을 뜻합니다. 다른 내용이 없으면 쓰지 않으셔야 합니다.
  • HelpOnProcessors . . . . 1 match
         if lines[0].contains("python"):
  • ITConversationsDotCom . . . . 1 match
         http://www.itconversations.com/
  • ImmediateDecodability/문보창 . . . . 1 match
         const int MAX = 10;
  • InsideCPU . . . . 1 match
         = Inside CPU =
  • IntentionRevealingMessage . . . . 1 match
          bool operator==(const Object& other)
  • InterMapIcon . . . . 1 match
         #redirect InterWikiIcons
  • InterestingCartoon . . . . 1 match
         그냥 페이지를 나누어도 상관없을듯 합니다. NoSmok 의 경우 NoSmok:애니메이션명대사 , NoSmok:만화속명대사 가 따로있긴 합니다. Responsibility 가 2개 이상이라 느껴진다면 이를 분리하는것도 하나의 방법이겠죠. (한편으로는, 이 페이지의 컨텐츠에 비해 너무 Rigid 하게 나가는 거 아닌가 하는 생각이 듭니다. 이 페이지로부터 다른 사람이 얻어가는, 또는 자신이 이익이 얻는 부분은 어떤건가요? 또는 어떠한 내용이 있다면 사람들로부터 더 활발한 이야기꺼리를 끌어낼 수 있을까요?) --[1002]
  • ItMagazine . . . . 1 match
          * CommunicationsOfAcm
  • JSP/SearchAgency . . . . 1 match
         <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  • JTDStudy . . . . 1 match
          * This page's group study Java , TDD and Design patterns
  • JavaScript/2011년스터디/7월이전 . . . . 1 match
          * http://stackoverflow.com/questions/69913/why-dont-self-closing-script-tags-work
  • JavaStudy2002/영동-3주차 . . . . 1 match
         collection framework를 알고 싶으시면 [http://java.sun.com/j2se/1.4/docs/guide/collections/ 여기] 에서 보세요. 그리고 보셨으면 저에게 세미나 시켜주세요. 쿨럭.. --["neocoin"]
  • JavaStudy2002/입출력관련문제 . . . . 1 match
          while(tokenizer.hasMoreTokens()){
  • JavaStudy2003/두번째과제/곽세환 . . . . 1 match
          인스턴스(Instance):(찍어낸 벽돌)
  • JavaStudyInVacation/진행상황 . . . . 1 match
          Moa:HelloWorldConsideredHarmful 보시고, 해당 페이지의 파일도 받아서 음미(?) 해 보세요.
  • JoelOnSoftware . . . . 1 match
         http://korean.joelonsoftware.com/
          [임인택]은 ZPHomePage보다는 ZeroWiki를 이용하기 때문에 자유게시판을 잘 안보는데, 우연히 갔다가 JoelOnSoftware에 관한 글이 올라온 걸 보게 되었다. 이전처럼 자유게시판 업데이트 되었을때, RecentChanges에 반영되었으면 좋으련만...
  • JollyJumpers/문보창 . . . . 1 match
         const int MAX = 3000;
  • JollyJumpers/오승균 . . . . 1 match
         const int size = 65535;
  • JosephYoder방한번개모임 . . . . 1 match
          * [https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=1pibLA94VQ8Z1cckW8IOsedbQ9joDuCwwafH93jHDgv3l-ASNn_QW2rGhxrWT&hl=en_US Refactoring Testing and Patterns]
  • JuNe . . . . 1 match
         http://no-smok.net/nsmk/_b1_e8_c3_a2_c1_d8
  • JumpJump/김태진 . . . . 1 match
         int main(int argc, const char * argv[])
  • JustDoIt . . . . 1 match
          AnswerMe) 6월 7일 월요일 수업이 끝나는 5시쯔음에 모임을 가질까 한데요 어떤가요? --[수민]
  • KentBeck . . . . 1 match
         ExtremeProgramming의 세 명의 익스트리모 중 하나. CrcCard 창안. 알렉산더의 패턴 개념(see also DesignPatterns)을 컴퓨터 프로그램에 최초 적용한 사람 중 하나로 평가받고 있다.
  • LC-Display/상협재동 . . . . 1 match
         const int MAX_TESTCASE = 10;
  • LIB_3 . . . . 1 match
          // Insert Prio Queue;
  • LUA_2 . . . . 1 match
         nill 은 단순히 자료형일 뿐만 아니라 instance화 되지 않은 모든 객체 형태를 말합니다.
  • LightMoreLight/문보창 . . . . 1 match
          unsigned int n;
  • Lines In The Plane . . . . 1 match
         What is the maximum number L<sub>n</sub> of regions defined by lines("unfolding" or "unwinding") in the plane?
  • LinuxProgramming/SignalHandling . . . . 1 match
          SIGILL - illegal instruction
  • MIB . . . . 1 match
          * 요즘 ["상민"]이는 "MIB들이 처리해 줄꺼야" 라는 말을 많이 쓴다. dcinside에서 "MIB들이 처리 했습니다." 라는 소리 한마디 듣고 전염이 되어 버렸다. 여기에서 MIB라면 일전에 창준 선배가 말씀하신 그린베레 프로그래머(Green Beret Programmer(Wiki:GreenBeretCoding) 정도의 의미가 될 것이다. 후에 MIB Programmer가 더 적당한 말이 될수 있겠다고 생각하곤 한다.
  • MedusaCppStudy . . . . 1 match
          srand((unsigned)time(NULL));
  • Metaphor . . . . 1 match
         Choose a system metaphor to keep the team on the same page by naming classes and methods consistently. What you name your objects is very important for understanding the overall design of the system and code reuse as well. Being able to guess at what something might be named if it already existed and being right is a real time saver. Choose a system of names for your objects that everyone can relate to without specific, hard to earn knowledge about the system. For example the Chrysler payroll system was built as a production line. At Ford car sales were structured as a bill of materials. There is also a metaphor known as the naive metaphor which is based on your domain itself. But don't choose the naive metaphor unless it is simple enough.
  • Microsoft . . . . 1 match
         {{|Microsoft Corporation (NASDAQ: MSFT) is the world's largest software company, with over 50,000 employees in various countries as of May 2004. Founded in 1975 by Bill Gates and Paul Allen, it is headquartered in Redmond, Washington, USA. Microsoft develops, manufactures, licenses, and supports a wide range of software products for various computing devices. Its most popular products are the Microsoft Windows operating system and Microsoft Office families of products, each of which has achieved near ubiquity in the desktop computer market.|}}
  • MineSweeper/문보창 . . . . 1 match
         const int MAX = 100;
  • MineSweeper/황재선 . . . . 1 match
          * 자바에서 console 모드의 키보드 입력를 처음 사용했다. c보다 불편하다.
  • ModelViewPresenter . . . . 1 match
         어플리케이션을 이러한 방법으로 나누는 것은 좋은 SeparationOfConcerns 이 되며, 다양한 부분들을 재사용할 수 있도록 해준다.
  • MoinMoin . . . . 1 match
          * 모인모인 스크린샷 : [http://moinmoin.wikiwikiweb.de/MoinMoinScreenShots]
         ''No! Originally "MoinMoin" does '''not''' mean "Good Morning". "Moin" just means "good" or "nice" and in northern Germany it is used at any daytime, so "Good day" seems more appropriate.'' --MarkoSchulz
  • MoinMoinWikis . . . . 1 match
          * [http://compsoc.dur.ac.uk/~tsp/cgi-bin/triki.cgi TrikiWiki] (private wiki for the Transformers holiday - uses a mildly hacked MoinMoin)
  • MoniWikiPlugins . . . . 1 match
         Ko:MoniWikiPlugins
  • MultiplyingByRotation/곽세환 . . . . 1 match
         const int MAX = 20; // 최대 20자리까지
  • MythicalManMonth . . . . 1 match
         This simple rule, consistently applied, would, within two years, double the
  • NeoCoin/Server . . . . 1 match
         unset MC;
  • NetBeans . . . . 1 match
         http://www.netbeans.org
  • NumberBaseballGame/jeppy . . . . 1 match
          printf("You lose~\nThe answer is %c%c%c", hidden_num[0], hidden_num[1], hidden_num[2]);
  • NumberBaseballGame/동기 . . . . 1 match
          srand((unsigned)time(NULL));
  • NumberBaseballGame/영동 . . . . 1 match
          srand((unsigned)time(NULL));
  • NumericalAnalysisClass/Exam2002_2 . . . . 1 match
          3) Affine transformation
  • NumericalExpressionOnComputer . . . . 1 match
         === unsigned number ===
  • OOD세미나 . . . . 1 match
          * 오늘 긴 시간동안 모두 수고하셨습니다. 오늘 설명한 내용이 아직 깊이 와닿지 않더라도 좋습니다. 프로젝트 개발에 있어 그동안 흔히 전개했던 방식과는 다른 접근 방식의 가능성을 확인하는 것만으로도 좋은 경험이 되었길 바랍니다. 누누히 강조하지만 한 번에 이해하시길 바라서 진행하는 세미나가 아니라, 정말 중요한 하나의 제언만이라도 남는다면 그것을 앞으로 몇 번 듣고 또 듣고, 그리고 정말 그 개념이 필요한 순간이 됐을 때 큰 힘이 되리라 믿습니다. 예제는 좋은 예제거리에 대한 의견이 없어 SE 프로젝트 주제를 차용했는데, 설계만으로 문제가 깔끔하게 해결되는 과제가 아니라 알고리즘으로 해결해야할 부분이 꽤 있는 과제다보니, 실습이 설계부분에 집중하기 힘들었던 점은 다소 아쉽네요. 좋은 후기를 작성해주신 분 한 분을 선정해서 번역서 [http://book.naver.com/bookdb/book_detail.nhn?bid=2500990 Holub on Patterns]을 선물로 드립니다. 후기는 감상보다는 되새김이 되었으면 좋겠습니다. :) - [변형진]
  • ObjectOrientedDatabaseManagementSystem . . . . 1 match
         Malcolm Atkinson을 비롯한 여러 사람들이 그들의 영향력 있는 논문인 The Object-Oriented Database Manifesto에서, OODBMS에 대해 다음과 같이 정의하였다.
  • ObjectWorld . . . . 1 match
          * Middleware, Application Server - Architecture 를 Instance 화 시킨 실질적 제품들. 전체 시스템 내에서의 역할에 대한 설명으로서의 접근.
  • OurMajorLangIsCAndCPlusPlus/math.h . . . . 1 match
         == 함수 (FUNCTIONS) ==
         ||double atof ( const char * string ) || 문자열을 실수형으로 변형시킨다||
  • OurMajorLangIsCAndCPlusPlus/print . . . . 1 match
         void print(const char *, ...);
  • OurMajorLangIsCAndCPlusPlus/print/허준수 . . . . 1 match
         void print(const char* first,...)
  • PHP . . . . 1 match
          * [PHPStudy2005/RWAPMInstall]
  • PNA2011/서지혜 . . . . 1 match
          * Motivation, Organization, Information/Innovation/Insight, Jiggle
  • POLY/김태진 . . . . 1 match
         int main(int argc, const char * argv[])
  • PPProject/20041001FM . . . . 1 match
         const int SIZE = strlen(string);
  • ParametricPolymorphism . . . . 1 match
         따라서 SportCar, LuxuryCar의 인스턴스(instance)가 Car객체 변수인 sportCar, luxuryCar에 대입이 가능하다.
  • PersonalHistory . . . . 1 match
          * [SmallTalk]다 프로젝트. Feat. [톱아보다], 매주 금요일 10시 모임. [SmalltalkBestPracticePatterns]를 공부하면서 [SBPPSummary]페이지의 완성과, 자판기프로그램 제작이 목표.
  • PowerOfCryptography/문보창 . . . . 1 match
         const int LEN = 1001;
  • PowerReading . . . . 1 match
         이 책이 재미있는 것중 하나는, 다른 속독관련 서적과는 달리 '이해'를 가장 우선시 한다는 것이다. (Chapter 1 ~ 10 첫번째를 보면 일관되게 Speed 보다 Comprehension 을 더 강조한다.)
  • PreviousFrontPage . . . . 1 match
         To learn more about what a WikiWikiWeb is, read about WhyWikiWorks and the WikiNature. Also, consult the WikiWikiWebFaq.
  • PrimaryArithmetic . . . . 1 match
         3 carry operations.
  • PrimaryArithmetic/1002 . . . . 1 match
          if count > 1: operationMessage = "operations"
  • PrimaryArithmetic/문보창 . . . . 1 match
          cout << sumCarry << " carry operations.\n";
  • PrimaryArithmetic/허아영 . . . . 1 match
          cout << operation << " carry operations." << endl;
  • PrimaryArithmetic/황재선 . . . . 1 match
          print self.carry, 'carry operations.'
  • PrimeNumberPractice . . . . 1 match
         const int scope = 2000;
  • ProcessExplorer . . . . 1 match
         http://www.sysinternals.com/images/screenshots/ProcessExplorer.gif
  • ProgrammingLanguageClass . . . . 1 match
         컴파일러를 독학하려는 사람들은 [http://no-smok.net/nsmk/_c4_c4_c6_c4_c0_cf_b7_af_c3_df_c3_b5_bc_ad_c0_fb 컴파일러추천서적] 참고.
  • ProgrammingLanguageClass/Report2002_2 . . . . 1 match
         In order words, explain why you design them in such a way and what you intend to demonstrate
  • ProgrammingPearls/Column3 . . . . 1 match
         const int NUM_ITEMS = 10;
  • ProjectEazy . . . . 1 match
         [http://www.unicode.org/versions/Unicode4.0.0/ch11.pdf 유니코드표준 동아시아(한글 포함)]
  • ProjectGaia/참고사이트 . . . . 1 match
          *[http://perso.enst.fr/~saglio/bdas/EPFL0525/sld009.htm Extendible Hashing]
  • ProjectPrometheus/CollaborativeFiltering . . . . 1 match
          *When a user does a specific well-defined action, bookPref is updated as "prefCoef*userPref+bookPref" and resorted. (some books at the end of the list might be eliminated for performance reasons)
          *Any top Ns are shown from the bookPref
  • ProjectSemiPhotoshop/기록 . . . . 1 match
          * 흑백에 대한 명암 처리 - Null, Negative, Gamma Correction, Contrast Stretched Compression, Posterizing, Clipping, Iso-intensity Contouring Range-hilighting
  • ProjectZephyrus/Server . . . . 1 match
          java_win.bat : Windows용 RunServer 실행 batch파일
         ||친구 등록시에 주고 받을 메세지의 처리 || {{{~cpp InsertBuddyCmd}}}||류상민||90%||
          * 현재 텔넷으로 테스트 하고 있음 방과후 보여 줄수 있음, MySQL은 기본적으로 ZeroPage로 세팅이 되어 있으며, 원하면 db.properties 화일을 수정해서 손쉽게 바꿀수 있다. Start Entry point는 RunServer --상민
  • ProjectZephyrus/ThreadForServer . . . . 1 match
         InfoManager.getInstance()의 if문 안쪽에 넣어주면 sync문제도 해결될것이다.
  • ProjectZephyrus/간단CVS사용설명 . . . . 1 match
         # description: The cvspsever serves CVS Passowrd Server sessions; it uses \
  • PyUnit . . . . 1 match
         인스턴스를 생성할때 우리는 그 테스트 인스턴스가 수행할 테스트 메소드를 구체적으로 명시해주어야 한다. 이 일은 constructor에 메소드 이름을 적어주면 된다.
  • PythonComTypes . . . . 1 match
         다른건 둘째치고, python win32 extension 보다 좋은점 :
  • QuestionsAboutMultiProcessAndThread . . . . 1 match
          * 어느 바쁜 음식점(machine)입니다. 두 명의 요리사(processor)가 있는데, 주문이 밀려서 5개의 요리(process)를 동시에 하고 있습니다. 그 중 어떤 한 요리는 소스를 끓이면서(thread) 동시에 양념도 다지고(thread), 재료들을 오븐에 굽는데(thread) 요리를 빠르게 완성하기 위해 이 모든 것을 동시에 합니다. 한 명의 요리사는 특정시점에 단 한 가지 행위(instruction)만 할 수 있으므로, 양념을 다지다가 (context switching) 소스가 잘 끓도록 저어주기도 하고 (context switching) 다시 양념을 다지다가 (context switching) 같이 하던 다른 요리를 확인하다가, 오븐에 타이머가 울리면(interrupt) 구워진 재료를 꺼내어 요리합니다. 물론 두 명의 요리사는 같은 시점에 각자가 물리적으로 서로 다른 행위를 할 수 있으며, 하나의 요리를 두 요리사가 나눠서(parallel program) 동시에 할 수도 있습니다. - [변형진]
  • RAID . . . . 1 match
         #redirect RedundantArrayOfInexpensiveDisks
  • REFACTORING . . . . 1 match
         ["Refactoring"] 과 TestDrivenDevelopment 는 일종의 메타패턴이다. (여기에 개인적으로 하나 더 추가하고 싶다면 ResponsibilityDrivenDesign) 두개에 충실하면 ["DesignPattern"] 으로 유도되어지는 경우가 꽤 많다.
  • RISCOS . . . . 1 match
         RISC OS owns you all :-)
  • RabbitHunt/김태진 . . . . 1 match
         ||Language||GCC||Result||Wrong Answer||
  • RandomWalk/대근 . . . . 1 match
          srand ( (unsigned int) time (NULL) );
  • RandomWalk/동기 . . . . 1 match
          srand((unsigned)time(NULL));
  • RandomWalk/변준원 . . . . 1 match
          const int max=5;
  • RandomWalk/이진훈 . . . . 1 match
         const int Arsize = 3;
  • RandomWalk/종찬 . . . . 1 match
          srand((unsigned)time(NULL));
  • RandomWalk2 . . . . 1 match
         ||인수 || . ||C++ ||["RandomWalk2/Insu"] ||
  • RandomWalk2/Leonardong . . . . 1 match
         const int Asize = 3;
  • RandomWalk2/질문 . . . . 1 match
         ''RandomWalk2 Requirement Modification 4 is now updated. Thank you for the questions.''
  • Refactoring/BuildingTestCode . . . . 1 match
         그때 나는 increment development단계에 있었고, 나는 매번 increment 을 완료할때 클래스들에 test method들을 추가했다. 그때 했던 프로젝트는 꽤 작았었고, 우리는 우리의 increment 주기는 한주 단위정도였다. 테스트의 실행은 는 꽤 수월하게 되었다. 하지만 테스트들은 실행하기 쉬웠지만, 테스트를 하는 것은 여전히 지겨운 일이였다. 이것은 내가 체크해야 하는 모든 테스트들이 console 에 결과를 출력하도록 만들어졌기 때문이다. 나는 꽤 게으른 사람이고, 나는 일을 피하기 위해 꽤 열심히 일을 준비했다. 나는 이 클래스들이 프린팅 해주는 것을 체크하는 대신, 컴퓨터가 테스트를 수행하도록 했다.내가 할일은 테스트 코드에 내가 기대하는 결과를 작성하고, 그 비교를 수행하는 것이다. 자, 나는 모든 클래스들의 test method를 수행할 수 있었고, 모든 일이 잘 되면 단지 'OK' 가 출력되는 것을 확인하면 되었다. 이 클래스는 지금 스스로 자기 자신을 테스트를 했다.
  • ReverseAndAdd/이승한 . . . . 1 match
         const int TEN = 10;
  • Ruby/2011년스터디 . . . . 1 match
          * C기반 언어와 다른 구문: else if->elsif, try-catch-finally -> begin-rescue-ensure
  • Ruby/2011년스터디/강성현 . . . . 1 match
         === openssl 설치 ===
  • RubyLanguage/Expression . . . . 1 match
          when 1910..1929 then "New Orleans Jazz"
  • RubyLanguage/InputOutput . . . . 1 match
          * 단 예외 발생시 File.close는 호출되지 않는다. ensure 구문에서 처리할 수 있다.
  • RunTimeTypeInformation . . . . 1 match
         동적으로 만들어진 변수의 타입을 비교하고, 특정 타입으로 생성하는 것을 가능하게 한다. (자바에서는 instanceof를 생각해보면 될 듯)
  • SBPP . . . . 1 match
         #redirect SmalltalkBestPracticePatterns
  • SOLDIERS/송지원 . . . . 1 match
          // answer
  • SPICE . . . . 1 match
          * [http://kspice.co.kr/main3/pds/RUP15504final_1.pdf Assessing RUP against ISO15504-5]
  • STL/list . . . . 1 match
          const int INDEX_MAX = 5;
  • SeminarHowToProgramIt/Pipe/VendingMachineParser.py . . . . 1 match
          print '%d inserted' % anAmount
  • SeparatingUserInterfaceCode . . . . 1 match
         When separating the presentation from the domain, make sure that no part of the domain code makes any reference to the presentation code. So if you write an application with a WIMP (windows, icons, mouse, and pointer) GUI, you should be able to write a command line interface that does everything that you can do through the WIMP interface -- without copying any code from the WIMP into the command line.
  • SeparationOfConcerns . . . . 1 match
          * http://www.acm.org/classics/may96/ - 해당 논문에서 추후 ResponsibilityDrivenDesign 에 해당되는 내용도 같이 있다. (72년 논문이란다.. 72년.;)
  • Shoemaker's_Problem/김태진 . . . . 1 match
          * 역시 원인을 알 수 없는 Wrong answer .... 뒤에 풀이까지 참고해봤지만 fail
  • SmallTalk/강좌FromHitel/Index . . . . 1 match
          | 3.1.1. 알림판 객체 - Transcript
  • SmallTalk/강좌FromHitel/강의3 . . . . 1 match
         Dolphin Smalltalk의 Tool > Options > Default Font... 메뉴를 사용하여 기
  • SmallTalk/강좌FromHitel/소개 . . . . 1 match
         (Visual Component Library)을 공부해야 하며, Java의 경우네는 JavaBeans나 여
         ANSI X3J20표준에 의해 규정된 갈래 씻줄(class hierarchy)은 흔히 볼 수 있는
         ANSI에서 표준화된 갈래 다발은 기본적인 것들 뿐이고 대부분 C++를 만들어 파는
         니다(Visual C++의 MFC와 Borland C++의 OWL을 생각해 봅시다.) ANSI 표준을 따
         * ANSI X3J20에서 Smalltalk의 표준을 정하고 있으며, Smalltalk는 C++와 더불어
  • SmallTalk/강좌FromHitel/차례 . . . . 1 match
          | 3.1.1. 알림판 객체 - Transcript
  • SmallTalk/문법정리 . . . . 1 match
          * 모든 스몰토크 표현식이 다음과 같은 양식을 따른다.All Smalltalk expressions follow the form:
  • SmallTalk_Index . . . . 1 match
          | 3.1.1. 알림판 객체 - Transcript
  • SmallTalk_Introduce . . . . 1 match
         (Visual Component Library)을 공부해야 하며, Java의 경우네는 JavaBeans나 여
         ANSI X3J20표준에 의해 규정된 갈래 씻줄(class hierarchy)은 흔히 볼 수 있는
         ANSI에서 표준화된 갈래 다발은 기본적인 것들 뿐이고 대부분 C++를 만들어 파는
         니다(Visual C++의 MFC와 Borland C++의 OWL을 생각해 봅시다.) ANSI 표준을 따
         * ANSI X3J20에서 Smalltalk의 표준을 정하고 있으며, Smalltalk는 C++와 더불어
  • SmalltalkBestPracticePatterns/Behavior/Conversion . . . . 1 match
         ["SmalltalkBestPracticePatterns/Behavior"]
  • SmithNumbers/김태진 . . . . 1 match
         int main(int argc, const char * argv[])
  • SoJu . . . . 1 match
         [DevCppInstallationGuide] // 인스톨 가이드 입니다. <- 필수!!
  • SoftwareEngineeringClass . . . . 1 match
         ["1002"]: 분야가 너무 넓다. 하루 PPT 자료 나아가는 양이 거의 60-70장이 된다. -_-; SWEBOK 에서의 각 Chapter 별로 관련 Reference들 자료만 몇십권이 나오는 것만 봐도. 아마 SoftwareRequirement, SoftwareDesign, SoftwareConstruction, SoftwareConfigurationManagement, SoftwareQualityManagement, SoftwareProcessAssessment 부분중 앞의 3개/뒤의 3개 식으로 수업이 분과되어야 하지 않을까 하는 생각도 해본다. (그게 4학년 객체모델링 수업이려나;) [[BR]]
  • SolidStateDisk . . . . 1 match
         백업 메카니즘으로서 배터리나 일반적인 자기디스크를 내장하곤 한다. SDD 는 일반적인 HDD I/O interface 로 연결된다. 이로 인해서 얻을 수 있는 잇점은 적은시간에 빈번한 I/O 작업이 일어날 경우에, seek time 이나 rotational latency 가 없는 메모리로서, 자기디스크에 비해 월등한 성능을 나타낼 수 있다. 그에 덧붙여 구동부가 없는 구조로서 좀더 내구성이 뛰어나다고도 할 수 있겠다. 단점은, 특성상 대용량화가 어려우며 커다란 데이터의 요구량이 커질때. 즉 access time 보다 transfer time 이 더 요구될때 효율성이 안좋다.
  • SpikeSolution . . . . 1 match
          (ex) DB를 연결하기 위해 DB를 Install 하기, DB 작동이 어떻게 되는지 query 날려보기. 해당 라이브러리가 어떻게 작동하는지 간단한 예제 프로그래밍 등
  • StacksOfFlapjacks/조현태 . . . . 1 match
         const int SIZE_BUFFER=100;
  • StephaneDucasse . . . . 1 match
         OORP(ObjectOrientedReengineeringPatterns) 의 저자중 한명.
  • StepwiseRefinement . . . . 1 match
         Niklaus Wirth 교수의 ''Program Development by Stepwise Refinement''(1971, CACM 14.4) (http://www.acm.org/classics/dec95/ )와 EdsgerDijkstra의 [http://www.cs.utexas.edu/users/EWD/ewd02xx/EWD227.PDF Stepwise Program Construction]을 꼬오옥 읽어보길 바랍니다. 전산학 역사에 길이 남는 유명한 논문들이고, 여기 소개된 SR은 Structured Programming에서 핵심적 역할을 했습니다. 당신은, 이 사람이 사용한 stepwise refinement에 상응하는 어떤 "일반적 문제 접근법 및 디자인 방법"을 갖고 있습니까? 이 글을 읽고 다른 문제에 stepwise refinement를 적용해 보십시오. Functional Programming이나 OOP에도 적용할 수 있습니까? 이 글을 읽고, 또 스스로 실험을 해보고 무엇을 배웠습니까? 이 stepwise refinement의 단점은 무엇이고, 이를 극복하는 방법은 무엇일까요? --김창준.
  • StructuredProgramming . . . . 1 match
         Edsger W. Dijkstra/Go To Statement Considered Harmful
  • SummationOfFourPrimes/문보창 . . . . 1 match
         const int MAX = 450;
  • TCP/IP_IllustratedVol1 . . . . 1 match
         W. Richard Stevens 라고 책 겉 표지에, 부제인 'The Protocols' 만큼이나 크게 적혀있다.
  • TddWithWebPresentation . . . . 1 match
          2. MockPresenter 를 만든다. 중요한 것은 출력결과를 테스트하는것이 목적이 아니라 action 결과 행해지는 일들(Transaction)이 제대로 일어났는지를 테스트하는 것이다. MockPresenter 는 그냥 해당 메소드들이 호출되었는지만 verify 하는정도면 충분할 것이다.
  • Temp/Commander . . . . 1 match
          cmds = self.parser.parse(aString=line,aName='Console')
  • TermProject/재니 . . . . 1 match
         const int students = 20;
  • The Tower of Hanoi . . . . 1 match
         T<sub>n</sub> is the minimum number of moves that will transfer n disks from one peg to another under Lucas's rules.
  • TheGrandDinner/조현태 . . . . 1 match
         const char DEBUG_INPUT[] = "4 5\n4 5 3 5\n3 5 2 6 4\n4 5\n4 5 3 5\n3 5 2 6 3\n0 0\n";
  • Trac . . . . 1 match
         Trac allows wiki markup in issue descriptions and commit messages, creating links and seamless references between bugs, tasks, changesets, files and wiki pages. A timeline shows all project events in order, making getting an overview of the project and tracking progress very easy.
  • Trace . . . . 1 match
          //_tprintf(szBuffer); // 이부분은 console window 에 출력해주는 부분이다.
  • TugOfWar/이승한 . . . . 1 match
         const int MAX= 100;
  • UglyNumbers/송지원 . . . . 1 match
         const int MAX = 1500;
  • UserStoriesApplied . . . . 1 match
         Mike Cohn's User Stories Applied shows how software teams can drive development through user stories, simple, clear, brief descriptions of functionality valuable to real users. It covers user role modeling, gathering stories, working with managers, trainers, salespeople, and other proxies, writing user stories for acceptance testing, and using stories to prioritize, set schedules, and estimate release costs.
  • VMWare . . . . 1 match
         [VMWare/UsefulFunctions]
  • VoiceChat . . . . 1 match
          http://web.skype.com/gfx/neutral/screenshot/skype_start_tab.ko.png
  • WikiGardening . . . . 1 match
         SeeAlso [http://no-smok.net/nsmk/_b9_ae_bc_ad_b1_b8_c1_b6_c1_b6_c1_a4#line42 제로위키 가꾸기], [문서구조조정토론]
  • WikiGardeningKit . . . . 1 match
         http://no-smok.net/nsmk/WikiGardening 이걸 전부 할 수는 없고
  • WikiNature . . . . 1 match
         It befuddles and enlightens.
  • WikiSandPage . . . . 1 match
         [http://www.u-blog.net/gorbinsk/img/logo.png]
  • XML . . . . 1 match
         #Redirect eXtensibleMarkupLanguage
  • XMLStudy_2002/XSL . . . . 1 match
         <xsl:stylesheet xmlns:xsl=http://www.w3.org/TR/WD-xsl>
  • XOR삼각형/aekae . . . . 1 match
         const int MAX = 8;
  • XOR삼각형/이태양 . . . . 1 match
         const MAX = 100;
  • XOR삼각형/임다찬 . . . . 1 match
          const int MAX=50;
  • XpQuestion . . . . 1 match
         각 Practice 를 공부를 하다보면, 저것들이 이루어지기 위해서 공부해야 할 것들이 더 있음을 알게 된다. (의식적으로 알아낼 수 있어야 한다고 생각한다.) Refactoring 을 잘하기 위해선 OOP 와 해당 언어들을 더 깊이있게 이해할 필요가 있으며 (언어에 대해 깊은 이해가 있으면 똑같은 일에 대해서도 코드를 더 명확하고 간결하게 작성할 수 있다.) CrcCard 를 하다보면 역시 OOP 와 ResponsibilityDrivenDesign 에 대해 공부하게 될 것이다. Planning 을 하다보면 시간관리책이나 일거리 관리책들을 보게 될 것이다. Pair 를 하다보면 다른 사람들에게 자신의 생각을 명확하게 표현하는 방법도 '공부'해야 할 것이다. 이는 결국 사람이 하는 일이기에. 같이 병행할 수 있고, 더 중요한 것을 개인적으로 순위를 정해서 공부할 수 있겠다.
         === OnSiteCustomer. 하지만 현실은... ===
  • XpWeek . . . . 1 match
         AnswerMe)마스코트?
  • XpWeek/준비물 . . . . 1 match
          || ExtremeProgrammingInstalled || . || (V) ||
  • ZIM/ConceptualModel . . . . 1 match
         ["ZIM/CRCCard"] : Class Responsiblity Collaborate Cards 가 아닌 '''Concept''' R... 입니다.
  • ZP&COW세미나 . . . . 1 match
          * Extreme Programming Installed, Ron Jeffries, 인사이트
  • ZPBoard/APM . . . . 1 match
          * ["ZPBoard/APM/Install"] - APM 설치하기
  • ZPBoard/AuthenticationBySession . . . . 1 match
         unset($_SESSION[Auth]); // Auth 라는 Session 변수를 제거한다.
         아.. DNS가 죽어서 별 생각없이 안들어오다 답변이 늦었군요. :)
  • ZPBoard/PHPStudy/MySQL . . . . 1 match
          mysql_query("insert into addressbook values('$_POST[name]', '$_POST[phone]')");
  • ZeroPageEvents . . . . 1 match
         || 7.15. 2002 ~ 7. 16. 2002 || ["2002년MT"] || ZeroPage MT~ || 김정훈(["정훈(K)의 페이지~"]), 신성재(["teruteruboz"]), 유상욱(["whiteblue"]), 이영록(["ricoder"]), 장재니(["E=mc²"]), 정재민(["Thor"]), ["창섭"], ["상협"], ["신재동"], 김남훈(["zennith"]), 강석천(["1002"], 류상민(["neocoin"]), 정해성(["phoenix_insky"]) ||
  • ZeroPagers . . . . 1 match
          * 정해성 : ["phoenix_insky"]
  • ZeroWikiHotKey . . . . 1 match
         AnswerMe [ZeroWiki]의 [HotKey]를 모아놓은 페이지를 본적이 있었는데. 찾을수가 없네요;; - [이승한]
  • [Lovely]boy^_^/Diary/2-2-16 . . . . 1 match
          * I can't translate english sentence that I writed.--;
  • [Lovely]boy^_^/ExtremeAlgorithmStudy . . . . 1 match
          * ["[Lovely]boy^_^/ExtremeAlgorithmStudy/MathematicalFoundations"]
  • [Lovely]boy^_^/ExtremeAlgorithmStudy/MathematicalFoundations . . . . 1 match
         = Mathematical Foundations =
  • apache/mod_python . . . . 1 match
          * [http://www.modpython.org/live/current/doc-html/inst-testing.html] : 인스톨 테스트
  • callusedHand/projects/algorithms . . . . 1 match
         = Constest problems archive =
  • cheal7272 . . . . 1 match
         = instruction =
  • ddori . . . . 1 match
          * Rage Against Machine
  • django . . . . 1 match
          * syncdb 해도 admin 에서 추가한 것이 보이지 않을때는 runserver 한거를 중지 시키고 다시 서버를 시작 하면 보인다.
  • django/AggregateFunction . . . . 1 match
          for c in Consequence.objects.values('loss'):
  • django/Example . . . . 1 match
         Upload:Screenshot-SMS_ERD.pdf.png
  • fnwinter . . . . 1 match
          InsideCPU
  • gusul/김태진 . . . . 1 match
         int main(int argc, const char * argv[])
  • html5/outline . . . . 1 match
         <html xmlns="http://www.w3.org/1999/xhtml">
  • html5/문제점 . . . . 1 match
          2.Audio and Video Tag limitations:
  • iText . . . . 1 match
          PdfWriter.getInstance(document, new FileOutputStream("Hello.pdf"));
  • imays . . . . 1 match
         다니는 학교 http://cs.yonsei.ac.kr
  • iruril . . . . 1 match
          * 신사모 : [http://sinsamo.wo.ro]
  • lostship/MinGW . . . . 1 match
          * make -f gcc-mingw32.mak clean install 를 실행한다. 그러면 /STLport-4.5.3/lib 에 생성된다.
  • mantis . . . . 1 match
         361 if ($this->autoRollback) $this->RollbackTrans();
  • neocoin/Education . . . . 1 match
          SIGCSE(ACM)을 참고해라. 좋은 자료를 많이 찾을 수 있을 것이다. 그리고 다양한 교수법은 NoSmok:PedagogicalPatterns 를 봐라. --JuNe
  • radiohead4us/PenpalInfo . . . . 1 match
         Comments: Hi All! Writing letters is my greatest hobby and i am still looking for some pals around my age. If you´re interested in writing snail mail to me, please send me an e-mail. Thanks! I promise, I will answer all.
  • ricoder . . . . 1 match
          unsigned int Arsize;
  • sisay . . . . 1 match
         [[PlayMusic(http://www.dcinside.com/a-new/hit/img/zerghasu-01.wma)]]
  • stuck!! . . . . 1 match
         설치법 - [DevCppInstallationGuide]
  • to.상협 . . . . 1 match
         urldump = commands.getoutput('lynx -width=132 -nolist -dump http://board5.dcinside.com/zb40/zboard.php?id=dc_sell | grep 995')
  • whiteblue/LinkedListAddressMemo . . . . 1 match
         unsigned int count=0;
  • woodpage/VisualC++HotKeyTip . . . . 1 match
          * 쓰게하려고 만들어논거 같다. 그중 Debug 카테고리에서 옆에 Buttons가 나오는데 거기서 손바닥 모양이 있다. 손바닥 모양은 익히
  • zennith/dummyfile . . . . 1 match
          unsigned long request, extractMask;
  • zennith/ls . . . . 1 match
         void myStrCat(char * dest, const char * source) {
  • zennith/source . . . . 1 match
          unsigned long int fac = 1;
  • 강성현 . . . . 1 match
          console.log(i + ' ' + count[i]);
  • 강의실홍보 . . . . 1 match
          * 해보지 않았다. AnswerMe 채워주세요.
  • 검색에이전시_temp . . . . 1 match
         미니룸 : http://minihp.cyworld.nate.com/pims/main/main_inside.asp?tid=24808212
  • 경시대회준비반 . . . . 1 match
         || [ChainsawMassacre] ||
  • 고전모으기 . . . . 1 match
          * StructuredProgramming, TheElementsOfProgrammingStyle, SICP, SmalltalkByExample, SmalltalkBestPracticePatterns
  • 공개선언 . . . . 1 match
         자연어처리를 이해하는 차원에서 통계 기반 분석기를 개강 전까지 만든다. FoundationsOfStatisticalNaturalLanguageProcessing 를 참조하자.
  • 공학적마인드 . . . . 1 match
         이전의 [페르마의마지막정리]에서의 '수학자와 과학자' 이야기를 떠올리면서 개인적인 정의를 생각해보면, AnswerMe [수학자와과학자]
  • 구구단/aekae . . . . 1 match
          9 timesRepeat: [Transcript show: a;show:'*';show:b;show:'='; show: a * b; cr. b := b + 1.].
  • 구구단/곽세환 . . . . 1 match
          Transcript show: a; show: '*'; show: b; show: '='; show: a*b; cr.
  • 그래픽스세미나/2주차 . . . . 1 match
         || 강인수 || Upload:GL_Report2_Insu_MFC.zip 경태형꺼랑 비슷한거..||
  • 기본데이터베이스 . . . . 1 match
         Insert : 새로운 자료 추가
  • 김수경 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 김재현 . . . . 1 match
          unsigned char j,k,n, used[MAX];
  • 김희성 . . . . 1 match
          * Forensic ([정의정],[김태진],[권영기])
  • 남상혁 . . . . 1 match
          * 트위터 @nsh0425
  • 논문검색 . . . . 1 match
          * [http://www.kins.co.kr/ 한국아이엔에스(KINS)]
  • 논문번역/2012년스터디 . . . . 1 match
          * Experiments in Unconstrained Offline Handwritten Text Recognition
  • 단어순서/방선희 . . . . 1 match
         const int Max=20;
  • 덜덜덜 . . . . 1 match
         [DevCppInstallationGuide] // 인스톨 가이드 입니다. <- 필수!!
  • 데블스캠프2005/RUR-PLE/Harvest . . . . 1 match
         # Function Definitions
  • 데블스캠프2005/RUR-PLE/Harvest/김태훈-zyint . . . . 1 match
         # Function Definitions #
  • 데블스캠프2005/월요일 . . . . 1 match
          [http://java.sun.com/docs/books/tutorial/java/concepts/QandE/questions.html Java OOP Example]
  • 데블스캠프2006/SSH . . . . 1 match
         = File Transfer Client =
  • 데블스캠프2006/월요일/함수/문제풀이/김대순 . . . . 1 match
          srand((unsigned)time(NULL));
  • 데블스캠프2006/월요일/함수/문제풀이/윤성준 . . . . 1 match
          srand((unsigned)time(NULL));
  • 데블스캠프2006/월요일/함수/문제풀이/정승희 . . . . 1 match
          srand((unsigned)time(0));
  • 데블스캠프2006/월요일/함수/문제풀이/주소영 . . . . 1 match
          srand((unsigned)time(NULL));
  • 데블스캠프2009/금요일후기 . . . . 1 match
          * [송지원] - 처참했다. 내가 처참했던 이유는 Short Coding에 실패했기 때문이 아니라 Coding 자체에 실패했기 때문이다. 아이디어는 제대로 생각했는데 구현을 잘 못하겠다는 나의 첫 마디는 헛소리였다. 아이디어도 틀렸고 코딩도 처참했다. 그리고 마지막엔 아이디어를 줘도 Wrong Answer를 띄우고 말았다. (주어진 숫자에 대해서는 성공했지만 정작 1이나 2를 input으로 받으면 실패했기 때문) 줘도 못받아먹는 이 못난 인간을 어찌하면 좋으리요 ㅋㅋㅋㅋ
  • 데블스캠프2009/목요일/연습문제/MFC/김태욱 . . . . 1 match
         void CZxczxcDlg::OnSysCommand(UINT nID, LPARAM lParam)
          CDialog::OnSysCommand(nID, lParam);
         // to draw the icon. For MFC applications using the document/view model,
  • 데블스캠프2009/목요일/연습문제/MFC/박준호 . . . . 1 match
          ON_BN_CLICKED(IDC_BUTTONsubtruction, OnBUTTONsubtruction)
         void CTestAPPDlg::OnSysCommand(UINT nID, LPARAM lParam)
          CDialog::OnSysCommand(nID, lParam);
         // to draw the icon. For MFC applications using the document/view model,
         void CTestAPPDlg::OnBUTTONsubtruction()
  • 데블스캠프2009/목요일/연습문제/MFC/정종록 . . . . 1 match
         void CTestDlg::OnSysCommand(UINT nID, LPARAM lParam)
          CDialog::OnSysCommand(nID, lParam);
         // to draw the icon. For MFC applications using the document/view model,
  • 데블스캠프2009/월요일/연습문제/svn코드레이스/박준호 . . . . 1 match
          srand((unsigned)time(NULL));
  • 데블스캠프2009/월요일/연습문제/svn코드레이스/서민관 . . . . 1 match
          srand((unsigned)time(NULL));
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/강소현 . . . . 1 match
          srand((unsigned)time(NULL));
  • 데블스캠프2011/네째날/이승한 . . . . 1 match
          * [http://keedi.pe.kr/presentations/just_do_git/ 발표 자료]
  • 데블스캠프2011/넷째날/Git . . . . 1 match
          * [http://keedi.pe.kr/presentations/just_do_git/ 발표 자료]
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/김준석,서영주 . . . . 1 match
          // TODO Auto-generated constructor stub
  • 데블스캠프2011/셋째날/후기 . . . . 1 match
          * 그냥 값을 가지게 하는 식이라면 어떻게든 비슷하게는 만들겠지만 불변객체로 만들라는 부분이나 const 사용 등을 고려하려고 하니까 힘들어지네요. 게다가 함수도 몇 개 못만들고... -_- 평소에 쓰는 string 클래스의 고마움을 절실히 느꼈습니다.
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/김준석 . . . . 1 match
         using System.Collections.Generic;
  • 데블스캠프2012/넷째날/묻지마Csharp/김태진 . . . . 1 match
         using System.Collections.Generic;
  • 데블스캠프2012/셋째날/코드 . . . . 1 match
         <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
         var myIcon = new NIcon("http://zeropage.org/files/attach/images/78/771/061/f86846df5cbc9e39169b683228cd5f13.jpg",new NSize(30,
  • 데블스캠프2013/넷째날/후기 . . . . 1 match
          * 전체적인 진행도 그렇고 내용도 그렇고 지금 ZP에서는 보기 힘든 분야가 되어버린(...) 부분을 지원 선배가 센스 있게 다루어 주셔서 좋았습니다. 시간은 다소 촉박했지만 그래도 바쁜 상황에 비해 꽤 매끄럽게 진행을 하시지 않았나 싶습니다. 다만 좀 아쉬운 점이라면 jenkins나 sonar를 쓰는 법도 혹시 다루지 않을까 싶었는데 그 부분이 없었다는 점이겠네요... 개인적으로 관심이 있었는데 ㅠㅠ - [서민관]
  • 데블스캠프2013/둘째날/API . . . . 1 match
          mysql_query("insert into board(name,text,ip) values ('{$_POST['name']}', '{$_POST['text']}', '{$_SERVER['REMOTE_ADDR']}')");
  • 데블스캠프2013/첫째날/후기 . . . . 1 match
          * SNS게임과, 온라인 게임을 이해하기 쉽게 비교해 주셔서 머리에 잘 들어왔습니다. 수익 모델을 어떻게 고려하면서 기획해야 하는지도 인상 깊게 들었습니다. -[고한종]
         = 이봉규 / ns-3 네트워크 시뮬레이터 소개 =
          * 시스코 공부하면서 GNS만 사용해봤는데 오픈소스에도 좋은 시뮬레이터가 있다는걸 알게되서 좋았습니다. 코드로 사용할 수 있다는 점도 상당히 마음에 드네요 - [장혁수]
          * NS3보다는 LINUX 자체에 대해 배운 게 더 기억에 남지만 이런 것이 있다는 것을 안 것만으로도 큰 도움이 되었습니다 - [원준연]
  • 랜웍/이진훈 . . . . 1 match
         const int Arsize = 3;
  • 레밍즈프로젝트/프로토타입/SetBit . . . . 1 match
         [http://zeropage.org/~beonit/temp/runshow11011.gif]
  • 레밍즈프로젝트/프로토타입/에니메이션버튼 . . . . 1 match
         || animate(.AVI) button || [http://www.codeproject.com/buttonctrl/anibuttons.asp] ||
  • 마방진/Leonardong . . . . 1 match
         const int Asize=19;
  • 마방진/임민수 . . . . 1 match
         int const arsize = 11;
  • 몸짱프로젝트/BubbleSort . . . . 1 match
         const int SIZE = 10;
  • 문자반대출력/변형진 . . . . 1 match
         preg_split()는 문자열 처리 능력이 탁월한 언어인 Perl에서 사용하는 Perl 호환 정규 표현식(Regular Expressions)을 차용하여 문자열을 분리하여 배열에 담는 함수.
  • 미로찾기/최경현김상섭 . . . . 1 match
          srand((unsigned)(time(NULL)));
  • 박원석 . . . . 1 match
         [http://cyworld.nate.com/parkwons]
  • 반복문자열/이태양 . . . . 1 match
          Console.WriteLine("CAUCSE LOVE.");
  • 방울뱀스터디/Thread . . . . 1 match
          text.insert(1.0, i)
          text.delete(INSERT)
  • . . . . 1 match
         [DevCppInstallationGuide] // 인스톨 가이드 입니다. <- 필수!!
  • 복사생성자 . . . . 1 match
         2. const 로 정의
  • 블로그2007 . . . . 1 match
         미래에는 PDT로 수렴되겠지만 아직은 정식 버전에 잘 결합이 되지 않을 만큼 불안합니다. 따라서 PHPEclipse를 추천하는데 Web개발을 위해서는 이뿐만이 아니라, HTML Coloring 지원 도구등 여러 도구들이 필요합니다. 귀찮은 작업입니다. Calisto가 나오기 전부터 Eclipse 도구를 분야별로 사용하기 쉽게 패키징 프로젝트가 등장했는데 [http://www.easyeclipse.org/ Easy Eclipse]가 가장 대표적인 곳입니다. 아직도 잘 유지보수되고 있고, Calisto가 수렴하지 못하는 Script 개발 환경 같은 것도 잘 패키징 되어 있습니다. [http://www.easyeclipse.org/site/distributions/index.html Easy Eclipse Distribution]에서 PHP개발 환경을 다운 받아서 쓰세요. more를 눌러서 무엇들이 같이 패키징 되었나 보세요.
  • 빵페이지/마방진 . . . . 1 match
          const int c = 15; // 3*3마방진의 각 줄의 합
  • 사람들이모임에나오지않는다 . . . . 1 match
         "Reform the environment, stop trying to reform the people. They will reform themselves if the environment is right." --NoSmok:BuckminsterFuller
  • 사랑방 . . . . 1 match
         negative LA assertion을 쓰면 간단합니다. {{{~cpp &(?!#\d{1,3};)}}} RE를 제대로 사용하려면 ''Mastering Regular Expressions, 2Ed ISBN:0596002890''를 공부하시길. --JuNe
  • 상협/삽질일지/2002 . . . . 1 match
          * Driver driver = (Driver)Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); 이거 할때 메인 함수에서 throws Exception 를 하지 않으면 thrown 을 잡거나 선언 해야만 한다는 메시지가 뜬다. 아직 이유는 모르겠다.
          * 간만에 쓴다. 삽질일지.. -_-;; 그동안 너무 놀았나.. 쩝.. 이번 삽질은 내가 처음으로 환타스탁한 소켓 플밍 연습하는데, API로 작성된 WinSock 소스 가지고 send랑 recv 가지구 놀고 있는뎅... 글자가 계속 깨져 나왔당.. 미치고 환장할일.. -_-;; 정모때 남훈이형이 어떻게 해서 되기는 되었는데 이유는 몰랐다.. 그래서 희망을 안 버리고 계속 삽질 해봤는데.. send랑 recv의 타이밍이 서버와 클라이언트가 맞지 안아서 였다.. 쩝..테스트 결과 서버가 send먼저 하고 클라이언트가 recv하면 깨져 나왔당..서버가 recv하고 클라이언트가 send하면 글씨가 안깨진다..-_-;;.. 이게 규칙인가~ 쩝.~
  • 새로운위키놀이 . . . . 1 match
         10여분 정도 [http://no-smok.net/nsmk 노스모크] 에서 좋은 페이지 찾아보고 이야기 해보기.
  • 새싹C스터디2005 . . . . 1 match
         [DevCppInstallationGuide] // 인스톨 가이드 입니다.
  • 새싹C스터디2005/선생님페이지 . . . . 1 match
          교육은 물고기를 잡는 방법을 가르쳐야 합니다. 어떤 알고리즘을 배운다면 그 알고리즘을 고안해낸 사람이 어떤 사고 과정을 거쳐 그 해법에 도달했는지를 구경할 수 있어야 하고, 학생은 각자 스스로만의 해법을 차근차근 '구성'(construct)할 수 있어야 합니다 (이를 교육철학에서 구성주의라고 합니다. 교육철학자 삐아제(Jean Piaget)의 제자이자, 마빈 민스키와 함께 MIT 미디어랩의 선구자인 세이머 페퍼트 박사가 주창했습니다). 전문가가 하는 것을 배우지 말고, 그들이 어떻게 전문가가 되었는지를 배우고 흉내 내야 합니다. 결국은 소크라테스적인 대화법입니다. 해답을 가르쳐 주지 않으면서도 초등학교 학생이 자신이 가진 지식만으로 스스로 퀵소트를 유도할 수 있도록 옆에서 도와줄 수 있습니까? 이것이 우리 스스로와 교사들에게 물어야 할 질문입니다.
  • 새싹교실/2011/Pixar . . . . 1 match
          * 후기 작성 요령 : 후기는 [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]에 맞게 작성해주세요.
  • 새싹교실/2012/AClass/2회차 . . . . 1 match
         Void srand(unsigned int SEED);
  • 새싹교실/2012/AClass/4회차 . . . . 1 match
         예) typedef unsigned char uchar;
  • 새싹교실/2012/새싹교실강사교육/1주차 . . . . 1 match
          참조 페이지 : http://no-smok.net/nsmk/FiveFs
  • 새싹교실/2012/새싹교실강사교육/2주차 . . . . 1 match
         아이디 : zeldababo 비밀번호 : rlawns
  • 새싹배움터05 . . . . 1 match
          C, 발표잘하는법, PPT제작 기법, [Python], [PHP], [ExtremeProgramming], ToyProblems, Linux, Internetworking(TCP/IP), Ghost(demonstration), OS(abstraction), OS+Windows, Embedded System, 다양한 언어들(Scheme, Haskell, Ruby, ...), 보안(본안의 기본과 기초, 인터넷 뱅킹의 인증서에 대해..), C언어 포인터 특강(?), 정보검색(검색 엔진의 원리와 구현), 컴퓨터 구조(컴퓨터는 도대체 어떻게 일을 하는가), 자바 가상머신 소스 분석
  • 새회원을받으면 . . . . 1 match
         AnswerMe 5월 10일 위키설명회를 하면서 새회원을 받기로 하였는데...여러가지 생각이 떠오릅니다. ZeroPagers 여러분의 의견을 듣고 싶습니다.
  • 서버구조 . . . . 1 match
         nslookup
  • 송지원 . . . . 1 match
          * '''SNS'''
          * instagram : enoch.g1
          * 2012년~2015년 : LG CNS 입사. 하이테크사업본부 엔지니어링솔루션부문 제조엔지니어링담당 생산최적화팀.
  • 수면과학습 . . . . 1 match
          * Jenkins & Dallenbach(1924) 실험
  • 수학의정석/행렬/조현태 . . . . 1 match
         const int BAE_YOL_SU=2;
  • 순수원서 . . . . 1 match
         = [http://cyworld.nate.com/wonsercj] <- 글남겨잉 =
  • 숫자를한글로바꾸기/김태훈zyint . . . . 1 match
          unsigned int i=0;
  • 스택/Leonardong . . . . 1 match
         const int Asize = 3;
  • 스터디그룹패턴언어 . . . . 1 match
          * [통찰력풀패턴](PoolOfInsightPattern)
  • 시간맞추기/남도연 . . . . 1 match
          └time(0), time(NULL)뭐 둘다 그말이 그말이지만.. 1970년 1월 1일부터 지나간 초를 알려줍니다. 물런 숫자가 무지무지무지무지 크므로 리턴값은 unsigned long 형 과 유사하며, 단순히 1초가 지날때마다 1씩 증가합니다. 그래서 이럴때 써먹습니다. - [조현태]
  • 시간맞추기/조현태 . . . . 1 match
         const int ANSWER_TIME=8;
          if (second==ANSWER_TIME-1)
  • 식인종과선교사문제/변형진 . . . . 1 match
          function __construct()
  • 실습 . . . . 1 match
         4) ListBox에서 Win32 Console Application을 선택한다.
  • 아인슈타인 . . . . 1 match
         http://www.google.co.kr/logos/einstein.gif
  • 안혁준/class.js . . . . 1 match
          proto.constructor = this;
  • 알고리즘5주숙제/김상섭 . . . . 1 match
         unsigned int max = 1000000;
  • 영어단어끝말잇기 . . . . 1 match
          *V.go to the inside
  • 위시리스트 . . . . 1 match
          * PC, Tablet, Server, Board, MCU, Sensor, 프린터기 등 S/W, H/W 개발 관련, 스터디, 프로젝트, 회의 관련 기자재 및 도서
  • 위키놀이 . . . . 1 match
         10여분 정도 [http://no-smok.net/nsmk 노스모크] 에서 좋은 페이지 찾아보고 이야기 해보기.
  • 위키를새로시작하자 . . . . 1 match
          AnswerMe 여기에서 나중의 의미는 무엇이에요? --NeoCoin
  • 위키설명회2005 . . . . 1 match
         <p href = "http://no-smok.net/nsmk/위키위키">노스모크위키의 위키 소개 페이지</p>
  • 위키설명회2005/PPT준비 . . . . 1 match
         ====== AnswerMe ======
  • 윤종하/지뢰찾기 . . . . 1 match
         종류: win32 console program
  • 이승한/질문 . . . . 1 match
          cout << "\n함수에 전달된 값이 변해도 scores의 값은 변하지 않는다.\nscores: ";
  • 이영호/개인공부일기장 . . . . 1 match
         ☆ 구입해야할 책들 - Advanced Programming in the UNIX Environment, Applications for Windows, TCP/IP Illustrated Volume 1, TCP/IP Protocol Suite, 아무도 가르쳐주지않았던소프트웨어설계테크닉, 프로젝트데드라인, 인포메이션아키텍쳐, 초보프로그래머가꼭알아야할컴퓨터동작원리, DirectX9Shader프로그래밍, 클래스구조의이해와설계, 코드한줄없는IT이야기, The Art of Deception: Controlling the Human Element of Security, Advanced Windows (Jeffrey Ritcher), Windows95 System Programming (Matt Pietrek)
  • 인수/Assignment . . . . 1 match
         || DB || 9/13 || 9/18, 수업 || Fig4-12 Insurance DB Schema. find PK and FK || || O ||
  • 임인책/북마크 . . . . 1 match
          * [http://www.extension.harvard.edu/2002-03/programs/DistanceEd/courses/default.jsp Distance Education Program]
  • 임인택/삽질 . . . . 1 match
          * C++ 에서 SingletonPattern 을 적용했는데.. 소멸자가 호출되지 않는것 같다.. 프로그램 종료시에 인스턴스를 강제로 삭제하였다. - 타이머 루틴에서 instance() 를 얻어왔는데. 타이머는 KillTimer 직후에 소멸되지 않는다.. 이로 인해.. 인스턴스가 삭제 된 후에 다시 생성되었었다...
  • 자료병합하기/조현태 . . . . 1 match
         const int END_OF_DATA=99;
  • 장용운/곱셈왕 . . . . 1 match
          * 곱셈애자([http://translate.google.co.kr/?hl=ko&tab=wT#ko|en|%EA%B3%B1%EC%85%88%EC%95%A0%EC%9E%90 멀티게이])
  • 전문가의명암 . . . . 1 match
         NoSmok:AlfredNorthWhitehead''''''는 ''Civilization advances by extending the number of important operations which we can perform without thinking of them.''라는 명언을 남겼다.
  • 전시회 . . . . 1 match
          AnswerMe) 효과란 무엇일까요?
  • 정렬 . . . . 1 match
          Upload:UnsortedData.txt
  • 정렬/민강근 . . . . 1 match
          ifstream fin("UnsortedData.txt");
  • 정렬/변준원 . . . . 1 match
          ifstream fin("UnsortedData.txt");
  • 정모/2002.7.11 . . . . 1 match
          * Instance MP3 - 한번만 사용하는 MP3 만들기
  • 정모/2006.9.13 . . . . 1 match
          - Design Patterns - Gof 의 뭐시기, 알자~~ 영진출판사
  • 정모/2011.10.12 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.10.5 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.4.4/CodeRace . . . . 1 match
          static boolean isOnShip;
          if(isOnShip != true)
          isOnShip = false;
          Luke.isOnShip = true;
          Raton.isOnShip = true;
         int main(int argc, const char **argv) {
  • 정모/2011.7.18 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.8.22 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.8.29 . . . . 1 match
          * [:DesignPatterns/2011년스터디 디자인패턴 스터디]
  • 정모/2011.8.8 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.9.20 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.9.27 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2012.1.6 . . . . 1 match
          * [http://valleyinside.com/2012-technology-trend/ 2012년 기술 트렌드]
  • 정모/2012.2.24 . . . . 1 match
          * 오랜만에 사회인 ZeroPager 두 분을 만나 즐거웠습니다! 치킨 감사합니다... 덕분에 ~~또~~ 폭식을 했습니다.....^_T 지원언니의 신입사원 연수 이야기 재미있었어요. 아직 취직을 하지 않았지만 가까운 미래에 취직을 해야할 상황이라 제겐 특히 더 와닿는 이야기가 아니었나 싶습니다. 승한선배의 GUI 세미나도 잘 들었습니다. 유행하는 것과 유행하지 않는 것에 대한 이야기가 가장 인상깊었어요. 작년에 [:DesignPatterns/2011년스터디 DP 스터디]를 시작하며 읽었던 FocusOnFundamentals 페이지가 생각납니다.
  • 정모/2012.3.19 . . . . 1 match
          * CommonsMultipartResolver를 써서 이미지 업로드 구현 중.
  • 정모/2013.9.4 . . . . 1 match
          * 클린 코드 : SRP(Single Responsibility Principle), DIP(Dependency Inversion Principle) 방식을 공부하였고 디자인패턴 중 템플릿 메소드에 대해서 공부하였습니다.그리고 스레드에 대해서 공부 하였습니다. trello와 github연동하는 방법이 있습니다.상당히 유용할 것같으므로 관심있으신분들은 조금만 찿아보시면 쉽게 하실수있습니다.
  • 조영준 . . . . 1 match
          * ActionScript2
          * ["정모/2014.12.3" 12월 3일 OMS]: Design Patterns
  • 졸업논문/본론 . . . . 1 match
         관계형 데이터베이스는 관계형 모델에 따라 논리적으로 연관이 있는 데이터를 모아놓은 것이다. 관계란 n-tuple이 한 줄 씩 배열된 것으로, 줄이 배열된 순서는 관계없고, 모든 줄은 구별할 수 있어야 한다.[11] 데이터베이스 관리 시스템(DBMS)는 데이터베이스를 구성, 변경, 조회하는 프로그램을 모아 놓은 것이다.[12] 현재까지 관계형 DBMS가 많이 쓰이고 있는데, 이는 관계를 테이블로 나타내고 키를 이용해 정보를 연결하는 특징을 가진다.[11] SQL은 관계형 데이터베이스의 데이터를 생성,조회,변경하는 언어로 ANSI/ISO표준이다.[13] SQL을 이용하면 데이터베이스 테이블 생성에서부터 데이터 추가, 삭제, 변경, 조회는 물론이고 여러 건에 대한 트랜잭션처리까지 가능하다.
         데이터를 삽입,삭제,변경할 때는 조회하는 SQL에 비해 하면 단순하다. 삽입에는 insert into value 구문을, 삭제는 delete from where구문을, 변경은 update set where구문을 사용한다. 삭제와 변경시에는 중첩 질의를 사용할 수 있다.
  • 졸업논문/참고문헌 . . . . 1 match
         [11] "A Relational Model of Data for Large Shared Data Banks", E. F. Codd , Communications of the ACM, Vol. 13, No. 6, June 1970, pp. 377-387.
  • 좌뇌우뇌문제해결지향 . . . . 1 match
         [http://prome.snu.ac.kr/~instps/board2/crgtest/crgtest.cgi?action=read 이곳]에 가면 자신의 창의성을 테스트 할 수 있다. 결과에 연연하지 말고 재미삼아서 해보는 것이 좋을 듯 하다.
  • 지금그때2003/토론20030310 . . . . 1 match
          * Opening Questions - 대화를 할때 다른 사람들에게 의미를 줄 수 있는, 또는 다른 사람의 말문을 여는데 도움이 될 질문들. 또는, 주제에 가까운 질문들에 대해.
          * OST (OpenSpaceTechnology)
  • 지금그때2004/전통과사유20040329 . . . . 1 match
          '''AnswerMe 그외 논의 사항을 적어주세요'''
  • 지금그때2005/진행내용 . . . . 1 match
          * IT 와 영어의 결합 - www.itconversations.com 의 MP3를 들어 보자
  • 지도분류 . . . . 1 match
         || ["CVS"] || Concurrent Versions System. 공동 프로젝트를 위한 소스 버전 관리 도구 ||
  • 최소정수의합/조현태 . . . . 1 match
          const int COMPARENUM=3000;
         -export([minSum/2]).
         minSum(I, SumNum) when SumNum >= 3000 -> {I - 1, SumNum};
         minSum(I, SumNum) -> minSum(I + 1, SumNum + I).
         6> pr_2:minSum(1, 0).
  • 큐/Leonardong . . . . 1 match
         const int Asize = 3;
  • 큰수찾아저장하기/문보창 . . . . 1 match
         const int SIZE = 4;
  • 타도코코아CppStudy/0724/선희발표_객체지향 . . . . 1 match
          상대적으로 각 객체는 소속 클래스의 인스턴스(instance)가 된다.
  • 타도코코아CppStudy/객체지향발표 . . . . 1 match
          상대적으로 각 객체는 소속 클래스의 인스턴스(instance)가 된다.
  • 토이/삼각형만들기/김남훈 . . . . 1 match
         다만 걱정되는게 있었다면, visual studio 띄우기도 귀찮아서.. 그리고 요즘에는 이런거 짜는데 마소 비주얼 스튜디오 형님까지 끌어들이는건 좀 미안하게 느껴져서 그냥 zp server 에서 vi 로 두들겼는데.. 나 gdb 쓸 줄 모르니까. malloc 쓰면서 약간 두려웠지. 흐흐흐. 다행이 const int 를 case 에서 받을 수 없는거 (이런 줄 오늘 알았다) 말고는 별달리 에러 없이 한방에 되주셔서 즐거웠지.
  • 파스칼삼각형/aekae . . . . 1 match
         const int MAX = 100;
  • 파스칼삼각형/임다찬 . . . . 1 match
          const int MAX = 100;
  • 파킨슨의 법칙 . . . . 1 match
          * Title : 파킨슨의 법칙 - 왜 조직이 커질수록 낭비가 많아지는가 ( Pakinson's Law )
  • 프로젝트 . . . . 1 match
          * [SmallTalk]다 프로젝트. Feat. [톱아보다], 매주 금요일 10시 모임. [SmalltalkBestPracticePatterns]를 공부하면서 [SBPPSummary]페이지의 완성과, 자판기프로그램 제작이 목표.
  • 피보나치/방선희 . . . . 1 match
         const int Max = 5000;
  • 함수포인터 . . . . 1 match
         [http://sandbox.mc.edu/~bennet/cs404/doc/jensen.html 4. simple_ex]
  • 허아영 . . . . 1 match
         [http://no-smok.net/nsmk/%EC%88%98%ED%95%99%EC%9C%A0%EB%A8%B8 수학유머]
  • 화성남자금성여자 . . . . 1 match
         void matrixTranslate (matrix_t m, vec3_t a);
  • 후각발달특별세미나 . . . . 1 match
          Upload:rkd49_answer_1.JPG
Found 1370 matching pages out of 7540 total pages (5000 pages are searched)

You can also click here to search title.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
Processing time 0.6444 sec